cl4d OpenCL wrapper moved to Github

Klyn klyn at no-email.com
Mon Jan 9 17:41:47 PST 2012


On Tue 10-Jan 1:23, Trass3r wrote:
>> The vectorAdd example works perfectly, without any editing (ie.
>> without removing the mixin(CL_PROGRAM_STRING_DEBUG_INFO)).
>
> How strange, does pragma(msg, CL_PROGRAM_STRING_DEBUG_INFO); give
> different results for the two dmd revisions?
>
>> The CLGLInterop example however still just gives a black window. It
>> only outputs the FPS in cmdline.
>
> any error messages?
> compile it in debug mode with -debug -g.

None that I can see.

C:\cl4d\CLGLInterop.exe
copied cl_platform_id 920C4F4. Reference count is now: 0
wrapped cl_context A5671A8
releasing cl_platform_id 920C4F4. Reference count before: 0
copied cl_platform_id 920C4F4. Reference count is now: 0
releasing cl_platform_id 920C4F4. Reference count before: 0
copied cl_context A5671A8. Reference count is now: 2
wrapped cl_mem A5789A8
releasing cl_context A5671A8. Reference count before: 2
copied cl_mem A5789A8. Reference count is now: 2
releasing cl_mem A5789A8. Reference count before: 2
copied cl_context A5671A8. Reference count is now: 2
wrapped cl_mem A49F8C8
releasing cl_context A5671A8. Reference count before: 2
copied cl_mem A49F8C8. Reference count is now: 2
releasing cl_mem A49F8C8. Reference count before: 2
copied cl_context A5671A8. Reference count is now: 2
wrapped cl_mem 44EEC38
releasing cl_context A5671A8. Reference count before: 2
copied cl_context A5671A8. Reference count is now: 2
wrapped cl_program A642850
releasing cl_context A5671A8. Reference count before: 3
copied cl_program A642850. Reference count is now: 2
copied cl_device_id 44276B0. Reference count is now: 0
releasing cl_device_id 44276B0. Reference count before: 0
releasing cl_program A642850. Reference count before: 2
copied cl_program A642850. Reference count is now: 2
wrapped cl_kernel A608008
releasing cl_program A642850. Reference count before: 3
copied cl_mem A5789A8. Reference count is now: 2
copied cl_mem A49F8C8. Reference count is now: 2
copied cl_mem 44EEC38. Reference count is now: 2
copied cl_mem A5789A8. Reference count is now: 3
copied cl_mem A5789A8. Reference count is now: 4
releasing cl_mem A5789A8. Reference count before: 4
releasing cl_mem A5789A8. Reference count before: 3
copied cl_mem A49F8C8. Reference count is now: 3
copied cl_mem A49F8C8. Reference count is now: 4
releasing cl_mem A49F8C8. Reference count before: 4
releasing cl_mem A49F8C8. Reference count before: 3
copied cl_mem 44EEC38. Reference count is now: 3
copied cl_mem 44EEC38. Reference count is now: 4
releasing cl_mem 44EEC38. Reference count before: 4
releasing cl_mem 44EEC38. Reference count before: 3
releasing cl_mem A5789A8. Reference count before: 2
releasing cl_mem A49F8C8. Reference count before: 2
releasing cl_mem 44EEC38. Reference count before: 2
copied cl_context A5671A8. Reference count is now: 3
copied cl_device_id 44276B0. Reference count is now: 0
wrapped cl_command_queue 4436648
releasing cl_context A5671A8. Reference count before: 4
releasing cl_device_id 44276B0. Reference count before: 0
copied cl_device_id 44276B0. Reference count is now: 0
releasing cl_device_id 44276B0. Reference count before: 0
releasing cl_program A642850. Reference count before: 2
initialization done
copied cl_mem A5789A8. Reference count is now: 2
copied cl_mem A49F8C8. Reference count is now: 2
wrapped cl_event A5594C0
copied cl_mem A5789A8. Reference count is now: 4
releasing cl_mem A5789A8. Reference count before: 3
copied cl_mem A49F8C8. Reference count is now: 4
releasing cl_mem A49F8C8. Reference count before: 3
releasing cl_event A5594C0. Reference count before: 2
copied cl_mem 44EEC38. Reference count is now: 2
wrapped cl_event 442DFE0
releasing cl_mem 44EEC38. Reference count before: 2
releasing cl_event 442DFE0. Reference count before: 1
etc.


More information about the Digitalmars-d-announce mailing list