mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-21 23:09:01 +00:00
add tests for cl_khr_extended_bit_ops (#1232)
* very basic test infrastructure * move test to integer_ops * added bitfield_reverse test * added test for bitfield insert * add a separate file for bitfield_extract * cleaned up implementation and all tests are passing * rename helper file so it can be used by other tests * remove temporary hacks * fix formatting * address code review comments * remove duplicated code after rebase * fix formatting a few naming changes for consistency more changes for consistency * fix copyright dates * remove unused variable
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// Copyright (c) 2017 The Khronos Group Inc.
|
||||
//
|
||||
// Copyright (c) 2017-2022 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
|
||||
@@ -61,6 +61,18 @@ extern int test_integer_sub_sat(cl_device_id deviceID, cl_context context, cl_co
|
||||
extern int test_integer_mul24(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||
extern int test_integer_mad24(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||
|
||||
extern int test_extended_bit_ops_extract(cl_device_id device_id,
|
||||
cl_context context,
|
||||
cl_command_queue commands,
|
||||
int num_elements);
|
||||
extern int test_extended_bit_ops_insert(cl_device_id device_id,
|
||||
cl_context context,
|
||||
cl_command_queue commands,
|
||||
int num_elements);
|
||||
extern int test_extended_bit_ops_reverse(cl_device_id device_id,
|
||||
cl_context context,
|
||||
cl_command_queue commands,
|
||||
int num_elements);
|
||||
|
||||
extern int test_long_math(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||
extern int test_long_logic(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||
|
||||
Reference in New Issue
Block a user