[Mesa-dev] Testing OpenCL with gegl
Kertesz Laszlo
laszlo.kertesz at gmail.com
Fri Jun 20 23:17:32 PDT 2014
Hmm. I get
GEGL_DEBUG=opencl ./run-compositions.py apply-lens.xml
GEGL-gegl-cl-init.c-Message: [GEGL_DEBUG_OPENCL] gegl-cl-init.c:508:
libOpenCL.so: 'clCreateFromGLTexture2D':
/usr/lib/x86_64-linux-gnu/libOpenCL.so: undefined symbol:
clCreateFromGLTexture2D
GEGL-gegl-cl-init.c-Message: [GEGL_DEBUG_OPENCL] gegl-cl-init.c:636:
OpenCL is disabled
GEGL-gegl-cl-init.c-Message: [GEGL_DEBUG_OPENCL] gegl-cl-init.c:636:
OpenCL is disabled
/media/bigdata/compile/gegl/tests/compositions/reference/apply-lens.png
and /media/bigdata/compile/gegl/tests/compositions/output/apply-lens.png
are identical
PASS apply-lens.xml
SKIP apply-lens.xml (OpenCL)
=== Test Results ===
tests passed: 1
tests skipped: 1
tests failed: 0
====== PASS ======
I have built llvm, kernel,mesa from git with opencl on (A8-6500 APU,
ARUBA). Simple opencl tests work.
Using gimp (built from git) i have the same undefined symbol error in
the console and all operations use 1 CPU core, the GPU doesnt seem to be
used at all. If i make all tests, all opencl tests are skipped and one
(non-opencl i suppose) even fails (gegl.xml).
Any ideas how i could use opencl?
--
O zi buna,
Kertesz Laszlo
More information about the mesa-dev
mailing list