faiss: use cuda_profiler_api
...which is now, since cuda 11.8, separate from cuda_nvprof
This commit is contained in:
parent
5901338013
commit
896c77f9db
@ -42,11 +42,14 @@ let
|
||||
cuda_cudart # cuda_runtime.h
|
||||
libcublas
|
||||
libcurand
|
||||
cuda_nvprof # cuda_profiler_api.h
|
||||
] ++ lib.optionals useThrustSourceBuild [
|
||||
nvidia-thrust
|
||||
] ++ lib.optionals (!useThrustSourceBuild) [
|
||||
cuda_cccl
|
||||
] ++ lib.optionals (cudaPackages ? cuda_profiler_api) [
|
||||
cuda_profiler_api # cuda_profiler_api.h
|
||||
] ++ lib.optionals (!(cudaPackages ? cuda_profiler_api)) [
|
||||
cuda_nvprof # cuda_profiler_api.h
|
||||
];
|
||||
};
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user