Skip to content

Commit dcc975c

Browse files
committed
Remove ROCmloops specific test
1 parent c8710b4 commit dcc975c

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

aten/src/ATen/test/cuda_vectorized_test.cu

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,6 @@ void reset_buffers() {
2727
}
2828
}
2929

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-
4730
TEST(TestVectorizedMemoryAccess, CanVectorizeUpTo) {
4831
char *ptr = reinterpret_cast<char *>(buffer1);
4932

0 commit comments

Comments
 (0)