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

X10RT fatal initialization error: CUDA reports 0 devices, you cannot use device 0. #36

Open
vahya opened this issue Jun 8, 2022 · 0 comments

Comments

@vahya
Copy link

vahya commented Jun 8, 2022

When I run the following sample program X10RT_ACCELS=CUDA0 ./CUDAKernelTest I get this error

X10RT fatal initialization error: CUDA reports 0 devices, you cannot use device 0.

Aborted (core dumped)

But I have a GPU, and I can use it with CUDA C, but X10 doesn't use it when doing X10RT_ACCELS=ALL.

 --- General Information for device 0 ---
Name: NVIDIA GeForce GTX 1050
Compute capability: 6.1
Clock rate: 1493000
Device copy overlap: Enabled
Kernel execition timeout: Enabled

  --- Memory Information for device 0 ---
Total global mem: 4236115968
Total constant mem: 65536
Max mem pitch: 2147483647
Texture Alignment: 512

  --- MP Information for device 0 ---
Multiprocessor count: 5
Shared mem per mp: 49152
Registers per mp: 65536
Threads in warp: 32
Max threads per block: 1024
Max thread dimensions: (1024, 1024, 64)
Max grid dimensions: (2147483647, 65535, 65535)
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

1 participant