OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

https://github.com/gammastorm/GammaOCL no debugging output

Thorsten_K_
Beginner
189 Views

Hi,

https://github.com/gammastorm/GammaOCL

here I try to code an own implementation of CopenCL for CPUs.

But even the debugging output is not printed.

Any ideas, why this is so ?

 

Regards

Thorsten Kiefer

0 Kudos
2 Replies
Robert_I_Intel
Employee
189 Views

Dear Thorsten,

If you have an issue with Intel OpenCL tools or drivers, please follow this check list when reporting it on the forum to ensure fast service:

  1. Please let us know what Processor, Operating System, Graphics Driver Version, and Tool Version you are using
  2. Please state steps to reproduce the issue as precisely as you possibly could
  3. If you are using command line tools, please provide the full command line
  4. If code is involved, it is great to create a small "Reproducer" sample and attach it to the message in the form of a zip file
  5. If you don't want your code to be seen by other forum users, please send me a private message
  6. Before posting, search the forum to see if someone already answered a similar question

Thank you!

Thorsten_K_
Beginner
189 Views

1. Intel Core 2 Duo, Peppermint 6, OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset x86/MMX/SSE2

2. strace clinfo :
...
close(4)                                = 0
munmap(0xb7736000, 4096)                = 0
open("/home/thorsten/NetBeansProjects/GammaOCL/GammaOCL/dist/Debug/GNU-Linux/libGammaOCL.so", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2207\0\0004\0\0\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0775, st_size=124156, ...}) = 0
mmap2(NULL, 33900, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb772e000
mmap2(0xb7735000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6000) = 0xb7735000
close(4)                                = 0
...

4. https://github.com/gammastorm/GammaOCL/blob/master/GammaOCL/dispatch.cpp#L16

Output does not appear !!!

 

Reply