Python, anano Runtimeerror: failed to initialize elementary support

Sorry if this happens trivially, as I happen to be new to these things. I am setting up theano to use my gpu for computing on ubuntu trusty tahr. I have an AMD Radeon HD 7670M gpu. When I try to run a test script to test theano working with gpu, I get the following error:

Mapped name None to device opencl0:0: Turks
Traceback (most recent call last):
  File "test.py", line 11, in <module>
    f = function([], T.exp(x))
  File "/home/sachu/git/Theano/theano/compile/function.py", line 322, in function
    output_keys=output_keys)
  File "/home/sachu/git/Theano/theano/compile/pfunc.py", line 480, in pfunc
    output_keys=output_keys)
  File "/home/sachu/git/Theano/theano/compile/function_module.py", line 1784, in orig_function
    defaults)
  File "/home/sachu/git/Theano/theano/compile/function_module.py", line 1648, in create
    input_storage=input_storage_lists, storage_map=storage_map)
  File "/home/sachu/git/Theano/theano/gof/link.py", line 699, in make_thunk
    storage_map=storage_map)[:3]
  File "/home/sachu/git/Theano/theano/gof/vm.py", line 1042, in make_all
    no_recycling))
  File "/home/sachu/git/Theano/theano/gof/op.py", line 975, in make_thunk
    no_recycling)
  File "/home/sachu/git/Theano/theano/gof/op.py", line 875, in make_c_thunk
    output_storage=node_output_storage)
  File "/home/sachu/git/Theano/theano/gof/cc.py", line 1189, in make_thunk
    keep_lock=keep_lock)
  File "/home/sachu/git/Theano/theano/gof/cc.py", line 1130, in __compile__
    keep_lock=keep_lock)
  File "/home/sachu/git/Theano/theano/gof/cc.py", line 1602, in cthunk_factory
    *(in_storage + out_storage + orphd))
RuntimeError: ('The following error happened while compiling the node', GpuElemwise{exp,no_inplace}(<GpuArrayType<None>(float64, (False,))>), '\n', 'Could not initialize elemwise support')

script , -: http://deeplearning.net/software/theano/tutorial/using_gpu.html - ? , , - , , , - , . github , , . stackoverflow, . .

: python3.4, theano bleeding edge version. Libgpuarray, clblas, openblas git. 64- .

+4
1

Anano OpenCL , (. ). , nvidia, CUDA.

+1

Source: https://habr.com/ru/post/1648550/


All Articles