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