HomeSort by: relevance | last modified time | path
    Searched defs:max_num_cus (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
kfd_chardev.c 418 const int max_num_cus = 1024; local in function:kfd_ioctl_set_cu_mask
437 * limit of max_num_cus bits. We can then just drop any CU mask bits
438 * past max_num_cus bits and just use the first max_num_cus bits.
440 if (properties.cu_mask_count > max_num_cus) {
442 properties.cu_mask_count = max_num_cus;
443 cu_mask_size = sizeof(uint32_t) * (max_num_cus/32);
kfd_chardev.c 418 const int max_num_cus = 1024; local in function:kfd_ioctl_set_cu_mask
437 * limit of max_num_cus bits. We can then just drop any CU mask bits
438 * past max_num_cus bits and just use the first max_num_cus bits.
440 if (properties.cu_mask_count > max_num_cus) {
442 properties.cu_mask_count = max_num_cus;
443 cu_mask_size = sizeof(uint32_t) * (max_num_cus/32);
kfd_chardev.c 418 const int max_num_cus = 1024; local in function:kfd_ioctl_set_cu_mask
437 * limit of max_num_cus bits. We can then just drop any CU mask bits
438 * past max_num_cus bits and just use the first max_num_cus bits.
440 if (properties.cu_mask_count > max_num_cus) {
442 properties.cu_mask_count = max_num_cus;
443 cu_mask_size = sizeof(uint32_t) * (max_num_cus/32);
kfd_chardev.c 418 const int max_num_cus = 1024; local in function:kfd_ioctl_set_cu_mask
437 * limit of max_num_cus bits. We can then just drop any CU mask bits
438 * past max_num_cus bits and just use the first max_num_cus bits.
440 if (properties.cu_mask_count > max_num_cus) {
442 properties.cu_mask_count = max_num_cus;
443 cu_mask_size = sizeof(uint32_t) * (max_num_cus/32);

Completed in 47 milliseconds