Skip to content

Commit

Permalink
group: clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
fknorr committed Sep 11, 2024
1 parent 0903db5 commit f0f71db
Showing 1 changed file with 27 additions and 50 deletions.
77 changes: 27 additions & 50 deletions tests/group/group_async_work_group_copy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,64 +32,41 @@ class TEST_NAME : public util::test_base {
public:
/** return information about this test
*/
void get_info(test_base::info &out) const override {
void get_info(test_base::info& out) const override {
set_test_info(out, TOSTRING(TEST_NAME), TEST_FILE);
}

/** execute the test
*/
void run(util::logger &log) override {
void run(util::logger& log) override {
check_type<size_t>{}(log, "size_t");
for_type_and_vectors<check_type, bool>(log,
"bool");
for_type_and_vectors<check_type, char>(log,
"char");
for_type_and_vectors<check_type, signed char>(log,
"signed char");
for_type_and_vectors<check_type, unsigned char>(log,
"unsigned char");
for_type_and_vectors<check_type, short int>(log,
"short");
for_type_and_vectors<check_type, unsigned short int>(log,
"unsigned short");
for_type_and_vectors<check_type, int>(log,
"int");
for_type_and_vectors<check_type, unsigned int>(log,
"unsigned int");
for_type_and_vectors<check_type, long int>(log,
"long");
for_type_and_vectors<check_type, unsigned long int>(log,
"unsigned long");
for_type_and_vectors<check_type, long long int>(log,
"long long");
for_type_and_vectors<check_type, unsigned long long int>(log,
"unsigned long long");
for_type_and_vectors<check_type, float>(log,
"float");
for_type_and_vectors<check_type, sycl::byte>(log,
"sycl::byte");
for_type_and_vectors<check_type, bool>(log, "bool");
for_type_and_vectors<check_type, char>(log, "char");
for_type_and_vectors<check_type, signed char>(log, "signed char");
for_type_and_vectors<check_type, unsigned char>(log, "unsigned char");
for_type_and_vectors<check_type, short int>(log, "short");
for_type_and_vectors<check_type, unsigned short int>(log, "unsigned short");
for_type_and_vectors<check_type, int>(log, "int");
for_type_and_vectors<check_type, unsigned int>(log, "unsigned int");
for_type_and_vectors<check_type, long int>(log, "long");
for_type_and_vectors<check_type, unsigned long int>(log, "unsigned long");
for_type_and_vectors<check_type, long long int>(log, "long long");
for_type_and_vectors<check_type, unsigned long long int>(
log, "unsigned long long");
for_type_and_vectors<check_type, float>(log, "float");
for_type_and_vectors<check_type, sycl::byte>(log, "sycl::byte");

#if SYCL_CTS_ENABLE_OPENCL_INTEROP_TESTS
for_type_and_vectors<check_type, sycl::cl_bool>(log,
"sycl::cl_bool");
for_type_and_vectors<check_type, sycl::cl_char>(log,
"sycl::cl_char");
for_type_and_vectors<check_type, sycl::cl_uchar>(log,
"sycl::cl_uchar");
for_type_and_vectors<check_type, sycl::cl_short>(log,
"sycl::cl_short");
for_type_and_vectors<check_type, sycl::cl_ushort>(log,
"sycl::cl_ushort");
for_type_and_vectors<check_type, sycl::cl_int>(log,
"sycl::cl_int");
for_type_and_vectors<check_type, sycl::cl_uint>(log,
"sycl::cl_uint");
for_type_and_vectors<check_type, sycl::cl_long>(log,
"sycl::cl_long");
for_type_and_vectors<check_type, sycl::cl_ulong>(log,
"sycl::cl_ulong");
for_type_and_vectors<check_type, sycl::cl_float>(log,
"sycl::cl_float");
for_type_and_vectors<check_type, sycl::cl_bool>(log, "sycl::cl_bool");
for_type_and_vectors<check_type, sycl::cl_char>(log, "sycl::cl_char");
for_type_and_vectors<check_type, sycl::cl_uchar>(log, "sycl::cl_uchar");
for_type_and_vectors<check_type, sycl::cl_short>(log, "sycl::cl_short");
for_type_and_vectors<check_type, sycl::cl_ushort>(log, "sycl::cl_ushort");
for_type_and_vectors<check_type, sycl::cl_int>(log, "sycl::cl_int");
for_type_and_vectors<check_type, sycl::cl_uint>(log, "sycl::cl_uint");
for_type_and_vectors<check_type, sycl::cl_long>(log, "sycl::cl_long");
for_type_and_vectors<check_type, sycl::cl_ulong>(log, "sycl::cl_ulong");
for_type_and_vectors<check_type, sycl::cl_float>(log, "sycl::cl_float");
#endif

#ifdef INT8_MAX
Expand Down

0 comments on commit f0f71db

Please sign in to comment.