Conversation
|
Thank you for the PR! |
|
Ah yes, I'm not using |
|
Can you give me more context on the 'lib/stubs' please? Which cuda parser are you talking about? What situation could it be problematic in? |
|
Sorry this wasn't very clear ; I was talking about this specific line in the conda recipe that I shared in the first message CUDA_LDFLAGS="${CUDA_LDFLAGS} -L${CONDA_PREFIX}/${targetsDir}/lib/stubs"which contains "stubs" that I didn't check and the cuda parser I was thinking about are lines similar to : keops/keopscore/keopscore/config/cuda.py Lines 366 to 369 in 0152630 |
Fixes cuda file detection for linux cuda users.
Without this patch, pykeops fails to find
cuda.hand switches back to cpu only mode.From
conda-nvcc'sactivate.shfile, the relevent variables are the following:https://github.com/conda-forge/cuda-nvcc-feedstock/blob/e4330bbc991b31e6f3e775524667b806f5495dcf/recipe/activate.sh#L5-L31
So I just added the different possible
targetDirsto thekeopscorefile detection pipeline, and it worked on my laptop.