I created an issue on github: 
https://github.com/Theano/libgpuarray/issues/341

On Thursday, February 2, 2017 at 6:47:01 PM UTC+1, Kiuhnm Mnhuik wrote:
>
> Thank you. Unfortunately, I can't get pygpu to work. I'm on Windows.
> I managed to build the dll with VS2013 and I added it to the path ("where 
> gpuarray.dll" finds the file).
> When I run pygpu.test() I get:
>
> EEEEEE
> ======================================================================
> ERROR: Failure: GpuArrayException (Error loading library: -1)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\Users\Kiuhnm\Anaconda3\lib\site-packages\nose\failure.py", line 
> 39, in runTest
>     raise self.exc_val.with_traceback(self.tb)
>   File "C:\Users\Kiuhnm\Anaconda3\lib\site-packages\nose\loader.py", line 
> 418, in loadTestsFromName
>     addr.filename, addr.module)
>   File "C:\Users\Kiuhnm\Anaconda3\lib\site-packages\nose\importer.py", 
> line 47, in importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "C:\Users\Kiuhnm\Anaconda3\lib\site-packages\nose\importer.py", 
> line 94, in importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File "C:\Users\Kiuhnm\Anaconda3\lib\imp.py", line 234, in load_module
>     return load_source(name, filename, file)
>   File "C:\Users\Kiuhnm\Anaconda3\lib\imp.py", line 172, in load_source
>     module = _load(spec)
>   File "<frozen importlib._bootstrap>", line 693, in _load
>   File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 665, in exec_module
>   File "<frozen importlib._bootstrap>", line 222, in 
> _call_with_frames_removed
>   File 
> "C:\Users\Kiuhnm\Anaconda3\lib\site-packages\pygpu-0.6.0-py3.5-win-amd64.egg\pygpu\tests\test_blas.py",
>  
> line 5, in <module>
>     from .support import (guard_devsup, gen_gpuarray, context)
>   File 
> "C:\Users\Kiuhnm\Anaconda3\lib\site-packages\pygpu-0.6.0-py3.5-win-amd64.egg\pygpu\tests\support.py",
>  
> line 32, in <module>
>     context = gpuarray.init(get_env_dev())
>   File "pygpu\gpuarray.pyx", line 614, in pygpu.gpuarray.init 
> (pygpu/gpuarray.c:9220)
>   File "pygpu\gpuarray.pyx", line 566, in pygpu.gpuarray.pygpu_init 
> (pygpu/gpuarray.c:8911)
>   File "pygpu\gpuarray.pyx", line 1021, in 
> pygpu.gpuarray.GpuContext.__cinit__ (pygpu/gpuarray.c:13273)
> pygpu.gpuarray.GpuArrayException: Error loading library: -1
>
> etc...
>
> Any idea what I'm doing wrong?
>
>
> On Thursday, February 2, 2017 at 3:27:19 PM UTC+1, nouiz wrote:
>>
>> Hi,
>>
>> the current/old GPU back-end only support float32. You can cast 
>> comparison to float32 and the elemwise fusion will fuse them and make them 
>> executable on the GPU with high probability.
>>
>> But the 100% sure way to have this working is to use the new gpu back-end 
>> that support more dtype then float32:
>>
>>
>> https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29
>>
>> So it won't request the cast to float32.
>>
>> Fred
>>
>> On Thu, Feb 2, 2017 at 8:26 AM, Kiuhnm Mnhuik <[email protected]> wrote:
>>
>>> Every time I use T.eq or '<', my data is moved to the CPU. Am I missing 
>>> something?
>>>
>>> I'm working on big tensors (millions of elements) so I need to perform 
>>> *all* the computations on the GPU.
>>>
>>> -- 
>>>
>>> --- 
>>> 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.
>>>
>>
>>

-- 

--- 
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