GPU error when executing OpenCL code

I am trying to execute OpenCL projects (in C and C++), and when I make the project with the Makefile and I execute it, failing at the command clCreateContextFromType() in the C++ host after compiling the OpenCL kernel.

I am using the Rodinia OpenCL benchmark, from the University of Virginia.

Specifically the project I am trying to execute is called “backprop”.

The OS where I am doing this is an Ubuntu 18.04 in a Virtual Machine (VirtualBox), I think this is the problem why the OS does not detect the GPU but I am not sure.

Thanks in advance.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.