ran all tests successfully on macbook air (i7) compiled with R16A
now having some issues on the linux system: ubuntu 12.10 with AMD/ATI Radeon HD7750, latest Radeon drivers for linux, R16A, latest OpenCL 1.2 headers from Khronos group site
following tests pass fine:
cl_binary_test:test().
cl_bandwidth:test().
cl_square_float:test().
following tests don't pass (with output):
cl_map:test().
192,125,68,0,0,126,68,0,64,126,68,0,128,126,68,0,192,126,68,
0,0,127,68,0,64,127,68,0,128,127,68,0,192,127,68,0,0,128,68>>},
{kwork,{command_queue_t,140481757717824,<<>>},
256,800,8,0.26666666666666666,undefined,undefined,undefined,
undefined,undefined,4,<<>>}]
*\* exception error: no match of right hand side value {error,invalid_buffer_size}
in function cl_map:'-run/2-fun-3-'/2 (cl_map.erl, line 73)
in call from lists:map/2 (lists.erl, line 1224)
in call from lists:map/2 (lists.erl, line 1224)
in call from cl_map:run/2 (cl_map.erl, line 70)
in call from cl_map:test/0 (cl_map.erl, line 24)
cl_basic:test().
{name,"Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz"},
{vendor,"GenuineIntel"},
{driver_version,"1124.2 (sse2,avx)"},
{profile,"FULL_PROFILE"},
{version,"OpenCL 1.2 AMD-APP (1124.2)"},
{extensions,"cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt "},
{platform,{platform_t,140481757713216,<<>>}}]
ContextInfo: [{reference_count,1},
{devices,[{device_t,140481757713304,<<>>},
{device_t,140481757713392,<<>>}]},
{properties,[]}]
Context2: [{reference_count,1},
{devices,[{device_t,140481757713304,<<>>},
{device_t,140481757713392,<<>>}]},
{properties,[]}]
Queue: {command_queue_t,140481757721192,<<>>}
QueueInfo: [{context,{context_t,140481757720152,<<>>}},
{device,{device_t,140481757713304,<<>>}},
{reference_count,1},
{properties,[]}]
Queue: {command_queue_t,140481757746712,<<>>}
QueueInfo: [{context,{context_t,140481757720152,<<>>}},
{device,{device_t,140481757713392,<<>>}},
{reference_count,1},
{properties,[]}]
Sampler1: {sampler_t,140481757747104,<<>>}
Sampler1Info: [{reference_count,1},
{context,{context_t,140481757720152,<<>>}},
{normalized_coords,true},
{addressing_mode,clamp},
{filter_mode,nearest}]
*\* exception error: no match of right hand side value {error,invalid_value}
in function cl_basic:test_sampler/2 (cl_basic.erl, line 148)
in call from lists:foreach/2 (lists.erl, line 1313)
in call from cl_basic:test/1 (cl_basic.erl, line 34)'
cl_test:test0().
** exception error: no match of right hand side value {error,invalid_platform}
in function cl_test:test0/1 (cl_test.erl, line 19)
cl_test:test1().
** exception error: no match of right hand side value {error,invalid_platform}
in function cl_test:test1/2 (cl_test.erl, line 56)
ran all tests successfully on macbook air (i7) compiled with R16A
now having some issues on the linux system: ubuntu 12.10 with AMD/ATI Radeon HD7750, latest Radeon drivers for linux, R16A, latest OpenCL 1.2 headers from Khronos group site
following tests pass fine:
cl_binary_test:test().
cl_bandwidth:test().
cl_square_float:test().
following tests don't pass (with output):
cl_map:test().
192,125,68,0,0,126,68,0,64,126,68,0,128,126,68,0,192,126,68, 0,0,127,68,0,64,127,68,0,128,127,68,0,192,127,68,0,0,128,68>>}, {kwork,{command_queue_t,140481757717824,<<>>}, 256,800,8,0.26666666666666666,undefined,undefined,undefined, undefined,undefined,4,<<>>}] *\* exception error: no match of right hand side value {error,invalid_buffer_size} in function cl_map:'-run/2-fun-3-'/2 (cl_map.erl, line 73) in call from lists:map/2 (lists.erl, line 1224) in call from lists:map/2 (lists.erl, line 1224) in call from cl_map:run/2 (cl_map.erl, line 70) in call from cl_map:test/0 (cl_map.erl, line 24)cl_basic:test().
{name,"Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz"}, {vendor,"GenuineIntel"}, {driver_version,"1124.2 (sse2,avx)"}, {profile,"FULL_PROFILE"}, {version,"OpenCL 1.2 AMD-APP (1124.2)"}, {extensions,"cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt "}, {platform,{platform_t,140481757713216,<<>>}}] ContextInfo: [{reference_count,1}, {devices,[{device_t,140481757713304,<<>>}, {device_t,140481757713392,<<>>}]}, {properties,[]}] Context2: [{reference_count,1}, {devices,[{device_t,140481757713304,<<>>}, {device_t,140481757713392,<<>>}]}, {properties,[]}] Queue: {command_queue_t,140481757721192,<<>>} QueueInfo: [{context,{context_t,140481757720152,<<>>}}, {device,{device_t,140481757713304,<<>>}}, {reference_count,1}, {properties,[]}] Queue: {command_queue_t,140481757746712,<<>>} QueueInfo: [{context,{context_t,140481757720152,<<>>}}, {device,{device_t,140481757713392,<<>>}}, {reference_count,1}, {properties,[]}] Sampler1: {sampler_t,140481757747104,<<>>} Sampler1Info: [{reference_count,1}, {context,{context_t,140481757720152,<<>>}}, {normalized_coords,true}, {addressing_mode,clamp}, {filter_mode,nearest}] *\* exception error: no match of right hand side value {error,invalid_value} in function cl_basic:test_sampler/2 (cl_basic.erl, line 148) in call from lists:foreach/2 (lists.erl, line 1313) in call from cl_basic:test/1 (cl_basic.erl, line 34)'cl_test:test0().
** exception error: no match of right hand side value {error,invalid_platform}
in function cl_test:test0/1 (cl_test.erl, line 19)
cl_test:test1().
** exception error: no match of right hand side value {error,invalid_platform}
in function cl_test:test1/2 (cl_test.erl, line 56)