File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -32,23 +32,6 @@ void reset_buffers() {
3232 }
3333}
3434
35- #if defined(USE_ROCM) && !defined(_WIN32)
36- TEST (TestLoops, HasSameArgTypes) {
37- // This is a compile-time unit test. If this file compiles without error,
38- // then the test passes and during runtime, we just need to return.
39- using namespace at ::native::modern::detail;
40- using func1_t = int (*)(float , float );
41- using func2_t = int (*)(bool , float , float );
42- using func3_t = int (*)(float );
43- using func4_t = int (*)();
44- static_assert (has_same_arg_types<func1_t >::value, " func1_t has the same argument types" );
45- static_assert (!has_same_arg_types<func2_t >::value, " func2_t does not have the same argument types" );
46- static_assert (has_same_arg_types<func3_t >::value, " func3_t has the same argument types" );
47- static_assert (has_same_arg_types<func4_t >::value, " func4_t has the same argument types" );
48- return ;
49- }
50- #endif
51-
5235TEST (TestVectorizedMemoryAccess, CanVectorizeUpTo) {
5336 char *ptr = reinterpret_cast <char *>(buffer1);
5437
You can’t perform that action at this time.
0 commit comments