Closed mcleantom closed 2 years ago
Hi @mcleantom, first off you can run PhiFlow on the GPU even without compiling the kernels.
I assume you are running python setup.py tf_cuda
on the master
branch? What version of TensorFlow do you have?
I tested it on Ubuntu 18.04 with TensorFlow 2.4.1 and it compiles there. With WSL it's always a bit tricky to get stuff to work with the GPU. Do you use the special WSL drivers from NVidia?
I'm trying to compile the CUDA kernels to use PhiFlow on the GPU, however, the compilation fails. For reference, I am using WSL2 with Ubuntu 20.04. This was the log file of the compilation:
I cant find why this might fail, could it be my TensorFlow version?
Sometimes GPU stuff in WSL can fail because there is no nvidia driver.