Skip to content Skip to sidebar Skip to footer

How To Use Dask To Run Python Code On The Gpu?

I have some code that uses Numba cuda.jit in order for me to run on the gpu, and I would like to layer dask on top of it if possible. Example Code #!/usr/bin/env python3 # -*- cod

Solution 1:

You may want to look through Dask's documentation on GPUs

But, since I'm using CUDA putting submit in front of the function doesn't work.

There is no particular reason why this should be the case. All Dask does it run your function on a different computer. It doesn't change or modify your function in any way.

Post a Comment for "How To Use Dask To Run Python Code On The Gpu?"