2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-27 06:42:19 +00:00

Merge pull request #294 from kylelutz/get-arg-info-version-check

Add version check to kernel::get_arg_info() test
This commit is contained in:
Kyle Lutz
2014-11-05 07:56:20 -08:00

View File

@@ -115,6 +115,8 @@ BOOST_AUTO_TEST_CASE(kernel_set_args)
#ifdef CL_VERSION_1_2
BOOST_AUTO_TEST_CASE(get_arg_info)
{
REQUIRES_OPENCL_VERSION(1, 2);
const char source[] = BOOST_COMPUTE_STRINGIZE_SOURCE(
__kernel void sum_kernel(__global const int *input,
const uint size,