Hi Andreas,
Building from git on windows 64 bit with the tss issue commented out I
get an executable that runs my own little codes but fails lots of test
cases. It may be a problem of this tss, but I am lost on how to fix it
properly. I have the impression that the tss patch is not really the
issue for these failures, but any suggestion is welcome.
Thanks
Jon
test_wrapper.py:
================
segfaults early on. Running the test using "py.test --capture=no" helped
to find the problem... it boils down to an intel issue (SDK 1.5), I get
the same crash from a C program:
ctx=pyopencl.create_some_context()
ctx.get_info( pyopencl.context_info.PROPERTIES )
**CRASH**, gdb output is attached in case it makes sense to you:
Choose platform:
[0] <pyopencl.Platform 'NVIDIA CUDA' at 0x482afd0>
[1] <pyopencl.Platform 'Intel(R) OpenCL' at 0x3599700>
Choice [0]:1
Set the environment variable PYOPENCL_CTX='1' to avoid being asked again.
Breakpoint 4, 0x00000000003216d0 in clGetContextInfo () from
C:\Windows\system32\OpenCL.dll
(gdb) bt
#0 0x00000000003216d0 in clGetContextInfo () from
C:\Windows\system32\OpenCL.dll
#1 0x0000000180022607 in
cl!?next@instance_holder@python@pyopenclboost@@QEBAPEAU123@XZ ()
from
C:\python27\lib\site-packages\pyopencl-2011.2-py2.7-win-amd64.egg\pyopencl\_cl.pyd
#2 0x00000000035b7f01 in ?? ()
#3 0x0000000050000063 in ?? ()
#4 0x0000000000540000 in ?? ()
#5 0x00000000035b7fa0 in ?? ()
#6 0x000000000021f4a0 in ?? ()
#7 0x0000000077249c38 in ntdll!LdrLoadAlternateResourceModuleEx () from
C:\Windows\system32\ntdll.dll
#8 0x0000000000000000 in ?? ()
(gdb) s
Single stepping until exit from function clGetContextInfo,
which has no line number information.
0x000007fef6de2a40 in intelopencl64!clGetContextInfo () from
C:\Windows\system32\IntelOpenCL64.dll
(gdb) s
Single stepping until exit from function intelopencl64!clGetContextInfo,
which has no line number information.
0x000007fef6df2b40 in intelopencl64!clGetExtensionFunctionAddress ()
from C:\Windows\system32\IntelOpenCL64.dll
(gdb) s
Single stepping until exit from function
intelopencl64!clGetExtensionFunctionAddress,
which has no line number information.
0x00000000771d2fc0 in ntdll!RtlEnumerateGenericTableWithoutSplayingAvl
() from C:\Windows\system32\ntdll.dll
(gdb) s
Single stepping until exit from function
ntdll!RtlEnumerateGenericTableWithoutSplayingAvl,
which has no line number information.
0x000007fef6de2a7f in intelopencl64!clGetContextInfo () from
C:\Windows\system32\IntelOpenCL64.dll
(gdb) s
Single stepping until exit from function intelopencl64!clGetContextInfo,
which has no line number information.
Program received signal SIGSEGV, Segmentation fault.
0x000007fef6de2ae5 in intelopencl64!clGetContextInfo () from
C:\Windows\system32\IntelOpenCL64.dll
test_clmath.py:
===============
Lots of issues related to what Thomas Rybak reported
http://lists.tiker.net/pipermail/pyopencl/2012-February/001079.html.
E RuntimeError: clBuildProgram failed: invalid binary -
E
E Build on <pyopencl.Device 'GeForce GT 330' on 'NVIDIA CUDA' at 0x5b5a9a0>:
E
E ptxas application ptx input, line 55; error : Instruction 'cvt'
requires SM 1.3 or higher, or map_f64_to_f32 directive
...
E ptxas fatal : Ptx assembly aborted due to errors
E ptxas application ptx input, line 55; warning : Double is not
supported. Demoting to float
With Thomas's patch applied the only failure is:
E AssertionError: (2.6656008e-07, 'sqrt', dtype('complex64'))
test_array.py:
==============
9 fails
5 are of the form:
RuntimeError: clBuildProgram failed: invalid binary -
Build on <pyopencl.Device 'GeForce GT 330' on 'NVIDIA CUDA' at 0x59aa9a0>:
ptxas application ptx input, line 55; error : Instruction 'cvt'
requires SM 1.3 or higher,
....
ptxas fatal : Ptx assembly aborted due to errors
ptxas application ptx input, line 55; warning : Double is not supported.
Demoting to float
4 are of the form:
ValueError: unable to map dtype 'uint32'
ValueError: unable to map dtype 'uint32'
ValueError: unable to map dtype 'int32'
ValueError: unable to map dtype 'int32'
_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl