-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello,
I've been online and found a set of OpenCL drivers for my laptop: (https://github.com/RadeonOpenCompute/ROCm)
They seem to have installed correctly as I can view my CPU through running clinfo
. Could someone please tell me how to point the makefile to the install directory for these drivers (/opt/rocm/opencl/
) as I am still having undefined reference errors.
step_world_v3_opencl.cpp:(.text+0x8b7): undefined reference to `clGetPlatformInfo'
step_world_v3_opencl.cpp:(.text+0xad8): undefined reference to `clGetDeviceInfo'
step_world_v3_opencl.cpp:(.text+0xc50): undefined reference to `clCreateContext'
step_world_v3_opencl.cpp:(.text+0xeda): undefined reference to `clReleaseContext'
step_world_v3_opencl.cpp:(.text+0x110b): undefined reference to `clReleaseContext'
step_world_v3_opencl.cpp:(.text+0x1179): undefined reference to `clReleaseContext'
/tmp/ccK71x0i.o: In function `cl::Platform::getDevices(unsigned long, std::vector<cl::Device, std::allocator<cl::Device> >*) const':
step_world_v3_opencl.cpp:(.text._ZNK2cl8Platform10getDevicesEmPSt6vectorINS_6DeviceESaIS2_EE[_ZNK2cl8Platform10getDevicesEmPSt6vectorINS_6DeviceESaIS2_EE]+0x3c): undefined reference to `clGetDeviceIDs'
step_world_v3_opencl.cpp:(.text._ZNK2cl8Platform10getDevicesEmPSt6vectorINS_6DeviceESaIS2_EE[_ZNK2cl8Platform10getDevicesEmPSt6vectorINS_6DeviceESaIS2_EE]+0x7a): undefined reference to `clGetDeviceIDs'
/tmp/ccK71x0i.o: In function `cl::Platform::get(std::vector<cl::Platform, std::allocator<cl::Platform> >*)':
step_world_v3_opencl.cpp:(.text._ZN2cl8Platform3getEPSt6vectorIS0_SaIS0_EE[_ZN2cl8Platform3getEPSt6vectorIS0_SaIS0_EE]+0x33): undefined reference to `clGetPlatformIDs'
step_world_v3_opencl.cpp:(.text._ZN2cl8Platform3getEPSt6vectorIS0_SaIS0_EE[_ZN2cl8Platform3getEPSt6vectorIS0_SaIS0_EE]+0x6a): undefined reference to `clGetPlatformIDs'
Many thanks,
Owen
Metadata
Metadata
Assignees
Labels
No labels