Skip to content

Commit

Permalink
fix the condition to disable a test
Browse files Browse the repository at this point in the history
  • Loading branch information
xadupre committed Feb 22, 2024
1 parent 89ebc2a commit 880d0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/test/providers/cpu/tensor/scatter_op_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ TEST(ScatterElements, AddReduction) {
test.Run(OpTester::ExpectResult::kExpectSuccess, "", {kTensorrtExecutionProvider, kOpenVINOExecutionProvider});
}

#if !defined(CUDA_VERSION)
#if defined(CUDA_VERSION)
// Operation on float16 (MLFloat16) is not implemented on CPU.
TEST(ScatterElements, AddReduction_MLFloat16) {
OpTester test("ScatterElements", 18);
Expand Down

0 comments on commit 880d0b0

Please sign in to comment.