Skip to content

Commit 3f46f9f

Browse files
Re-enable Query_L2_MMCodeDistance and Query_IP_MMCodeDistance tests for ROCm (#3838)
Summary: This fixes 3787 now that we do not install CUDA for ROCm builds. Differential Revision: D62283662
1 parent 6eaa8ae commit 3f46f9f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

faiss/gpu/test/TestGpuIndexIVFPQ.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -307,16 +307,13 @@ void testMMCodeDistance(faiss::MetricType mt) {
307307
}
308308
}
309309

310-
// FIXME: https://github.com/facebookresearch/faiss/issues/3787
311-
#ifndef USE_AMD_ROCM
312310
TEST(TestGpuIndexIVFPQ, Query_L2_MMCodeDistance) {
313311
testMMCodeDistance(faiss::MetricType::METRIC_L2);
314312
}
315313

316314
TEST(TestGpuIndexIVFPQ, Query_IP_MMCodeDistance) {
317315
testMMCodeDistance(faiss::MetricType::METRIC_INNER_PRODUCT);
318316
}
319-
#endif // USE_AMD_ROCM
320317

321318
TEST(TestGpuIndexIVFPQ, Float16Coarse) {
322319
Options opt;

0 commit comments

Comments
 (0)