Use highest OpenCL C version (#1081)

* Set the highest supported OpenCL C version.

* Remove gDeviceLt20 variable - not used anymore.

* Fix formatting issues
This commit is contained in:
Grzegorz Wawiorko
2021-01-11 14:54:19 +01:00
committed by GitHub
parent f02cbad2e3
commit 2597027737
53 changed files with 247 additions and 165 deletions

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -79,7 +79,8 @@ test_work_group_all(cl_device_id device, cl_context context, cl_command_queue qu
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_all_kernel_code, "test_wg_all", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_all_kernel_code, "test_wg_all");
if (err)
return -1;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -79,7 +79,8 @@ test_work_group_any(cl_device_id device, cl_context context, cl_command_queue qu
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_any_kernel_code, "test_wg_any", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_any_kernel_code, "test_wg_any");
if (err)
return -1;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -174,7 +174,9 @@ test_work_group_broadcast_1D(cl_device_id device, cl_context context, cl_command
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_broadcast_1D_kernel_code, "test_wg_broadcast_1D", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_broadcast_1D_kernel_code,
"test_wg_broadcast_1D");
if (err)
return -1;
@@ -281,7 +283,9 @@ test_work_group_broadcast_2D(cl_device_id device, cl_context context, cl_command
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_broadcast_2D_kernel_code, "test_wg_broadcast_2D", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_broadcast_2D_kernel_code,
"test_wg_broadcast_2D");
if (err)
return -1;
@@ -406,7 +410,9 @@ test_work_group_broadcast_3D(cl_device_id device, cl_context context, cl_command
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_broadcast_3D_kernel_code, "test_wg_broadcast_3D", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_broadcast_3D_kernel_code,
"test_wg_broadcast_3D");
if (err)
return -1;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -176,7 +176,9 @@ test_work_group_reduce_add_int(cl_device_id device, cl_context context, cl_comma
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_add_kernel_code_int, "test_wg_reduce_add_int", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_add_kernel_code_int,
"test_wg_reduce_add_int");
if (err)
return -1;
@@ -279,7 +281,9 @@ test_work_group_reduce_add_uint(cl_device_id device, cl_context context, cl_comm
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_add_kernel_code_uint, "test_wg_reduce_add_uint", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_add_kernel_code_uint,
"test_wg_reduce_add_uint");
if (err)
return -1;
@@ -381,7 +385,9 @@ test_work_group_reduce_add_long(cl_device_id device, cl_context context, cl_comm
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_add_kernel_code_long, "test_wg_reduce_add_long", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_add_kernel_code_long,
"test_wg_reduce_add_long");
if (err)
return -1;
@@ -484,7 +490,9 @@ test_work_group_reduce_add_ulong(cl_device_id device, cl_context context, cl_com
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_add_kernel_code_ulong, "test_wg_reduce_add_ulong", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_add_kernel_code_ulong,
"test_wg_reduce_add_ulong");
if (err)
return -1;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -177,7 +177,9 @@ test_work_group_reduce_max_int(cl_device_id device, cl_context context, cl_comma
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_max_kernel_code_int, "test_wg_reduce_max_int", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_max_kernel_code_int,
"test_wg_reduce_max_int");
if (err)
return -1;
@@ -289,7 +291,9 @@ test_work_group_reduce_max_uint(cl_device_id device, cl_context context, cl_comm
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_max_kernel_code_uint, "test_wg_reduce_max_uint", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_max_kernel_code_uint,
"test_wg_reduce_max_uint");
if (err)
return -1;
@@ -400,7 +404,9 @@ test_work_group_reduce_max_long(cl_device_id device, cl_context context, cl_comm
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_max_kernel_code_long, "test_wg_reduce_max_long", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_max_kernel_code_long,
"test_wg_reduce_max_long");
if (err)
return -1;
@@ -512,7 +518,9 @@ test_work_group_reduce_max_ulong(cl_device_id device, cl_context context, cl_com
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_max_kernel_code_ulong, "test_wg_reduce_max_ulong", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_max_kernel_code_ulong,
"test_wg_reduce_max_ulong");
if (err)
return -1;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -177,7 +177,9 @@ test_work_group_reduce_min_int(cl_device_id device, cl_context context, cl_comma
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_min_kernel_code_int, "test_wg_reduce_min_int", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_min_kernel_code_int,
"test_wg_reduce_min_int");
if (err)
return -1;
@@ -289,7 +291,9 @@ test_work_group_reduce_min_uint(cl_device_id device, cl_context context, cl_comm
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_min_kernel_code_uint, "test_wg_reduce_min_uint", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_min_kernel_code_uint,
"test_wg_reduce_min_uint");
if (err)
return -1;
@@ -400,7 +404,9 @@ test_work_group_reduce_min_long(cl_device_id device, cl_context context, cl_comm
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_min_kernel_code_long, "test_wg_reduce_min_long", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_min_kernel_code_long,
"test_wg_reduce_min_long");
if (err)
return -1;
@@ -512,7 +518,9 @@ test_work_group_reduce_min_ulong(cl_device_id device, cl_context context, cl_com
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_reduce_min_kernel_code_ulong, "test_wg_reduce_min_ulong", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_reduce_min_kernel_code_ulong,
"test_wg_reduce_min_ulong");
if (err)
return -1;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -184,7 +184,9 @@ test_work_group_scan_exclusive_add_int(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_add_kernel_code_int, "test_wg_scan_exclusive_add_int", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_add_kernel_code_int,
"test_wg_scan_exclusive_add_int");
if (err)
return -1;
@@ -287,7 +289,9 @@ test_work_group_scan_exclusive_add_uint(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_add_kernel_code_uint, "test_wg_scan_exclusive_add_uint", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_add_kernel_code_uint,
"test_wg_scan_exclusive_add_uint");
if (err)
return -1;
@@ -389,7 +393,9 @@ test_work_group_scan_exclusive_add_long(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_add_kernel_code_long, "test_wg_scan_exclusive_add_long", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_add_kernel_code_long,
"test_wg_scan_exclusive_add_long");
if (err)
return -1;
@@ -492,7 +498,9 @@ test_work_group_scan_exclusive_add_ulong(cl_device_id device, cl_context context
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_add_kernel_code_ulong, "test_wg_scan_exclusive_add_ulong", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_add_kernel_code_ulong,
"test_wg_scan_exclusive_add_ulong");
if (err)
return -1;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -176,7 +176,9 @@ test_work_group_scan_exclusive_max_int(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_max_kernel_code_int, "test_wg_scan_exclusive_max_int", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_max_kernel_code_int,
"test_wg_scan_exclusive_max_int");
if (err)
return -1;
@@ -288,7 +290,9 @@ test_work_group_scan_exclusive_max_uint(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_max_kernel_code_uint, "test_wg_scan_exclusive_max_uint", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_max_kernel_code_uint,
"test_wg_scan_exclusive_max_uint");
if (err)
return -1;
@@ -399,7 +403,9 @@ test_work_group_scan_exclusive_max_long(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_max_kernel_code_long, "test_wg_scan_exclusive_max_long", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_max_kernel_code_long,
"test_wg_scan_exclusive_max_long");
if (err)
return -1;
@@ -511,7 +517,9 @@ test_work_group_scan_exclusive_max_ulong(cl_device_id device, cl_context context
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_max_kernel_code_ulong, "test_wg_scan_exclusive_max_ulong", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_max_kernel_code_ulong,
"test_wg_scan_exclusive_max_ulong");
if (err)
return -1;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -177,7 +177,9 @@ test_work_group_scan_exclusive_min_int(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_min_kernel_code_int, "test_wg_scan_exclusive_min_int", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_min_kernel_code_int,
"test_wg_scan_exclusive_min_int");
if (err)
return -1;
@@ -289,7 +291,9 @@ test_work_group_scan_exclusive_min_uint(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_min_kernel_code_uint, "test_wg_scan_exclusive_min_uint", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_min_kernel_code_uint,
"test_wg_scan_exclusive_min_uint");
if (err)
return -1;
@@ -400,7 +404,9 @@ test_work_group_scan_exclusive_min_long(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_min_kernel_code_long, "test_wg_scan_exclusive_min_long", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_min_kernel_code_long,
"test_wg_scan_exclusive_min_long");
if (err)
return -1;
@@ -512,7 +518,9 @@ test_work_group_scan_exclusive_min_ulong(cl_device_id device, cl_context context
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_exclusive_min_kernel_code_ulong, "test_wg_scan_exclusive_min_ulong", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_exclusive_min_kernel_code_ulong,
"test_wg_scan_exclusive_min_ulong");
if (err)
return -1;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -173,7 +173,9 @@ test_work_group_scan_inclusive_add_int(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_add_kernel_code_int, "test_wg_scan_inclusive_add_int", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_add_kernel_code_int,
"test_wg_scan_inclusive_add_int");
if (err)
return -1;
@@ -276,7 +278,9 @@ test_work_group_scan_inclusive_add_uint(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_add_kernel_code_uint, "test_wg_scan_inclusive_add_uint", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_add_kernel_code_uint,
"test_wg_scan_inclusive_add_uint");
if (err)
return -1;
@@ -378,7 +382,9 @@ test_work_group_scan_inclusive_add_long(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_add_kernel_code_long, "test_wg_scan_inclusive_add_long", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_add_kernel_code_long,
"test_wg_scan_inclusive_add_long");
if (err)
return -1;
@@ -481,7 +487,9 @@ test_work_group_scan_inclusive_add_ulong(cl_device_id device, cl_context context
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_add_kernel_code_ulong, "test_wg_scan_inclusive_add_ulong", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_add_kernel_code_ulong,
"test_wg_scan_inclusive_add_ulong");
if (err)
return -1;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -175,7 +175,9 @@ test_work_group_scan_inclusive_max_int(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_max_kernel_code_int, "test_wg_scan_inclusive_max_int", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_max_kernel_code_int,
"test_wg_scan_inclusive_max_int");
if (err)
return -1;
@@ -278,7 +280,9 @@ test_work_group_scan_inclusive_max_uint(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_max_kernel_code_uint, "test_wg_scan_inclusive_max_uint", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_max_kernel_code_uint,
"test_wg_scan_inclusive_max_uint");
if (err)
return -1;
@@ -380,7 +384,9 @@ test_work_group_scan_inclusive_max_long(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_max_kernel_code_long, "test_wg_scan_inclusive_max_long", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_max_kernel_code_long,
"test_wg_scan_inclusive_max_long");
if (err)
return -1;
@@ -483,7 +489,9 @@ test_work_group_scan_inclusive_max_ulong(cl_device_id device, cl_context context
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_max_kernel_code_ulong, "test_wg_scan_inclusive_max_ulong", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_max_kernel_code_ulong,
"test_wg_scan_inclusive_max_ulong");
if (err)
return -1;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2017 The Khronos Group Inc.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
@@ -175,7 +175,9 @@ test_work_group_scan_inclusive_min_int(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_min_kernel_code_int, "test_wg_scan_inclusive_min_int", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_min_kernel_code_int,
"test_wg_scan_inclusive_min_int");
if (err)
return -1;
@@ -278,7 +280,9 @@ test_work_group_scan_inclusive_min_uint(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_min_kernel_code_uint, "test_wg_scan_inclusive_min_uint", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_min_kernel_code_uint,
"test_wg_scan_inclusive_min_uint");
if (err)
return -1;
@@ -380,7 +384,9 @@ test_work_group_scan_inclusive_min_long(cl_device_id device, cl_context context,
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_min_kernel_code_long, "test_wg_scan_inclusive_min_long", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_min_kernel_code_long,
"test_wg_scan_inclusive_min_long");
if (err)
return -1;
@@ -483,7 +489,9 @@ test_work_group_scan_inclusive_min_ulong(cl_device_id device, cl_context context
int i;
MTdata d;
err = create_single_kernel_helper_with_build_options( context, &program, &kernel, 1, &wg_scan_inclusive_min_kernel_code_ulong, "test_wg_scan_inclusive_min_ulong", "-cl-std=CL2.0" );
err = create_single_kernel_helper(context, &program, &kernel, 1,
&wg_scan_inclusive_min_kernel_code_ulong,
"test_wg_scan_inclusive_min_ulong");
if (err)
return -1;