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

listOpenCLDevices returns character(0) #70

Open
huanpipt opened this issue Sep 20, 2023 · 1 comment
Open

listOpenCLDevices returns character(0) #70

huanpipt opened this issue Sep 20, 2023 · 1 comment

Comments

@huanpipt
Copy link

huanpipt commented Sep 20, 2023

Hi,

I hope this is not the wrong place to ask questions.

I am new to R and gpu computing, and I am trying to run this script with gpu_cox. But I was stuck in getting the gpudevice with listOpenCLDevices()

I can find my gpudevice with OpenCL R package, and can do some gpu computing on python with xgboost. So, I think hardware should support gpu computing. It can be I missed some setting for R?

I checked the source code for listOpenCLDevices, which is

function () 
{
  .Call(`_Cyclops_listOpenCLDevices`)
}

It seems it is calling a c function, named "_Cyclops_listOpenCLDevices"? But, I do not know where to find it and check how to fix this issue.

Could anyone please give me some advice?

Many thanks,
Yueh

@zyndagj
Copy link

zyndagj commented Nov 7, 2024

I have a similar issue. Can y'all share a method to set up the environment so GPUs can be detected?

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