You are not logged in.

#1 2020-05-20 19:50:26

jazznuts
Member
Registered: 2020-03-24
Posts: 20

Anyone have any luck getting Theano to work with OpenCL on an AMD GPU?

I've been trying to get Theano with OpenCL but I have had no luck. I know Theano's support for OpenCL is minimal, but I can't even get the test script to work. With the opencl-amd driver, I get the following result when I use the test script:

Cmd:

THEANO_FLAGS=mode=FAST_RUN,device=opencl0:0,floatX=float32 python Theano_GPU_Test.py

Output:

Segmentation fault (core dumped)

Setting device=cpu gives the expected result.

Other drivers (openc-mesa and opencl-amdgpu-pro-pal) also give a segfault, but before I installed opencl-amd they would say something along the lines of libgpuarray failing because only opencl 1.2 and above was supported.

Offline

Board footer

Powered by FluxBB