Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and run instructions for CUDA devices #338

Open
rickybalin opened this issue Feb 20, 2024 · 1 comment
Open

Build and run instructions for CUDA devices #338

rickybalin opened this issue Feb 20, 2024 · 1 comment

Comments

@rickybalin
Copy link

This is a request to add documentation for CUDA devices. For example, it would be great to see:

  • Instructions for setting up the Conda environment and a .yaml file for CUDA devices
  • Instructions for building DPBench (with support for the SYCL implementations)
  • Run instructions to target CUDA devices with the benchmarks
  • Which implementations of which benchmarks can we run on CUDA devices (CuPy and numba_cuda are expected, but it would be great to be able to run the SYCL implementations too)

Thanks!

@ZzEeKkAa
Copy link
Contributor

ZzEeKkAa commented May 3, 2024

Thank you @rickybalin for the feedback!
All the cuda implementations are experimental. It should be as easy to get it work as install of all required packages from the product documentation: https://numba.readthedocs.io/en/stable/cuda/overview.html#requirements

Regarding cuda support in sycl - you need to use sycl build with cuda support. The easiest way is to use nightly build: https://github.com/intel/llvm/releases . Please be couches: if you are using nightly release from outside of conda packages, you must not have dpcpp related packages inside conda environment. It may be tricky, since dpctl, dpnp and numba-dpex requires them. You would need to compile those packages using nightly build and update requirements to ignore dpcpp conda dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants