Searched refs:gpu_idx (Results 1 – 1 of 1) sorted by relevance
624 int32_t gpu_idx; in svm_range_get_adev_by_id() local628 gpu_idx = kfd_process_gpuidx_from_gpuid(p, gpu_id); in svm_range_get_adev_by_id()629 if (gpu_idx < 0) { in svm_range_get_adev_by_id()633 pdd = kfd_process_device_from_gpuidx(p, gpu_idx); in svm_range_get_adev_by_id()635 pr_debug("failed to get device by idx 0x%x\n", gpu_idx); in svm_range_get_adev_by_id()646 int32_t gpu_idx, gpuid; in svm_range_get_pdd_by_adev() local651 r = kfd_process_gpuid_from_adev(p, adev, &gpuid, &gpu_idx); in svm_range_get_pdd_by_adev()657 return kfd_process_device_from_gpuidx(p, gpu_idx); in svm_range_get_pdd_by_adev()