Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 4d2e7e8

Browse files
[C++ API] Drop autotuner_utility NoCache test
In the new API, there is no such thing as a global cache. A cache is either constructed and in scope or just does not exist. This commit removes a test that will become invalid once the new API has landed.
1 parent 5051cb5 commit 4d2e7e8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

test/cuda/test_autotuner_utility.cc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@ std::vector<CudaMappingOptions> restoreCandidates(
6060
lang::canonicalTc(tc), inputsPair.first, outputsPair.first);
6161
}
6262

63-
TEST(RestoreCandidates, NoCache) {
64-
std::vector<at::Tensor> inputs{at::CUDA(at::kFloat).rand({10, 16}),
65-
at::CUDA(at::kFloat).rand({16, 20})};
66-
static constexpr auto tc = R"(
67-
def tc2(float(M,N) A, float(N,K) B) -> (output) {
68-
output(m, k) +=! A(m, nn) * B(nn, k) + 1
69-
})";
70-
ASSERT_THROW(restoreCandidates(tc, inputs, inputs), std::runtime_error);
71-
}
72-
7363
TEST(RestoreCandidates, NotATCid) {
7464
std::vector<at::Tensor> inputs{at::CUDA(at::kFloat).rand({10, 16}),
7565
at::CUDA(at::kFloat).rand({16, 20})};

0 commit comments

Comments
 (0)