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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user