Fred,

I have exactly the same issue as Tecx. I mean I got exactly the same 
message as Tecx when test theano.

I am using Theano 0.9.0b1, libgpuarray 0.6.0, and iMac (Retina 5k, 27-in, 
Late 2015) with AMD Radeon R9 M390 2048 Mb.

I wrote the .theanorc:

[global]
device = opencl0:1
floatX = float32


I wrote device = opencl0:1 because in a terminal I check the device by:

python -c "import pygpu; print(pygpu.init('opencl0:1').devname)"

get:

AMD Radeon R9 M390 Compute Engine

'opencl0:0' returns CPU.

Please advise.



On Friday, January 27, 2017 at 5:45:36 AM UTC-8, nouiz wrote:
>
> Hi,
>
> To be sure, you use the development version of Theano, not Theano 0.8.2? 
> And you also installed the development version of libgpuarray?
>
> What are your Theano flag?
>
> Fred
>
> On Fri, Jan 27, 2017 at 6:21 AM, Tecx Nitrom <[email protected] 
> <javascript:>> wrote:
>
>>
>> I am trying to set theano to use gpu but getting  Gpu Array Exception.
>>
>>
>> Using Theano backend.
>> ERROR (theano.gpuarray): Could not initialize pygpu, support disabled
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/site-packages/theano/gpuarray/__init__.py", 
>> line 164, in <module>
>>     use(config.device)
>>   File "/usr/lib/python3.6/site-packages/theano/gpuarray/__init__.py", 
>> line 151, in use
>>     init_dev(device)
>>   File "/usr/lib/python3.6/site-packages/theano/gpuarray/__init__.py", 
>> line 100, in init_dev
>>     pygpu.blas.gemm(0, tmp, tmp, 0, tmp, overwrite_c=True)
>>   File "pygpu/blas.pyx", line 129, in pygpu.blas.gemm (pygpu/blas.c:3354)
>>   File "pygpu/blas.pyx", line 44, in pygpu.blas.pygpu_blas_rgemm 
>> (pygpu/blas.c:2011)
>> pygpu.gpuarray.GpuArrayException: (b'Unsupported operation', 5)
>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "theano-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to