Skip to content

Instantly share code, notes, and snippets.

@sebsjoberg
Created January 28, 2014 19:51
Show Gist options
  • Save sebsjoberg/8674911 to your computer and use it in GitHub Desktop.
Save sebsjoberg/8674911 to your computer and use it in GitHub Desktop.
vexcl vector_expression and multivector_expression test failure
seed: 1390938656
1. Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz (Apple)
Running 11 test cases...
#if defined(cl_khr_fp64)
# pragma OPENCL EXTENSION cl_khr_fp64: enable
#elif defined(cl_amd_fp64)
# pragma OPENCL EXTENSION cl_amd_fp64: enable
#endif
kernel void vexcl_vector_kernel
(
ulong n,
global double * prm_1
)
{
size_t chunk_size = (n + get_global_size(0) - 1) / get_global_size(0);
size_t chunk_start = get_global_id(0) * chunk_size;
size_t chunk_end = min(n, chunk_start + chunk_size);
for(size_t idx = chunk_start; idx < chunk_end; ++idx)
{
prm_1[idx] = 42;
}
}
CVMS_ERROR_COMPILER_FAILURE: CVMS compiler has crashed or hung building an element.
unknown location:0: fatal error in "integral_constants": std::exception: clBuildProgram
/Users/sebastian/src/vexcl.github/tests/multivector_arithmetics.cpp:208: last checkpoint
*** 1 failure detected in test suite "MultivectorArithmetics"
seed: 1390938523
1. Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz (Apple)
Running 18 test cases...
#if defined(cl_khr_fp64)
# pragma OPENCL EXTENSION cl_khr_fp64: enable
#elif defined(cl_amd_fp64)
# pragma OPENCL EXTENSION cl_amd_fp64: enable
#endif
kernel void vexcl_vector_kernel
(
ulong n,
global double * prm_1
)
{
size_t chunk_size = (n + get_global_size(0) - 1) / get_global_size(0);
size_t chunk_start = get_global_id(0) * chunk_size;
size_t chunk_end = min(n, chunk_start + chunk_size);
for(size_t idx = chunk_start; idx < chunk_end; ++idx)
{
prm_1[idx] = 42;
}
}
CVMS_ERROR_COMPILER_FAILURE: CVMS compiler has crashed or hung building an element.
unknown location:0: fatal error in "constants": std::exception: clBuildProgram
/Users/sebastian/src/vexcl.github/tests/vector_arithmetics.cpp:261: last checkpoint
*** 1 failure detected in test suite "VectorArithmetics"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment