Skip to content

Commit ca8f06f

Browse files
committed
Remove TestLoops from cuda_vectorized_test.cu
These tests have been removed in rocm7.0_internal_testing, but we never upstreamed this.
1 parent 97547a7 commit ca8f06f

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
@@ -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-
5235
TEST(TestVectorizedMemoryAccess, CanVectorizeUpTo) {
5336
char *ptr = reinterpret_cast<char *>(buffer1);
5437

0 commit comments

Comments
 (0)