Skip to content

Commit

Permalink
fix cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Difers committed Jan 10, 2024
1 parent c7ae497 commit 96c1f35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions test/ir/pir/translator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ file(
"test_*.py")
string(REPLACE ".py" "" TEST_INTERP_CASES "${TEST_INTERP_CASES}")

set(DISTRIBUTED_OP_TRANSLATOR_TEST test_c_reduce_min_translator)
set(DISTRIBUTED_OP_TRANSLATION_TEST test_c_reduce_min_translate)
set(DISTRIBUTED_OP_TRANSLATION_TEST test_partial_send_translate)
set(DISTRIBUTED_OP_TRANSLATOR_TEST test_c_reduce_min_translator
test_partial_send_translator)

if(NOT WITH_DISTRIBUTE)
list(REMOVE_ITEM TEST_INTERP_CASES ${DISTRIBUTED_OP_TRANSLATOR_TEST})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from paddle.base.layer_helper import LayerHelper


class TestCPartialSendTranslator(test_op_translator.TestOpTranslator):
class TestPartialSendTranslator(test_op_translator.TestOpTranslator):
def append_op(self):
self.op_type = "partial_send"
x = paddle.ones(shape=(100, 2, 3), dtype='float32')
Expand Down

0 comments on commit 96c1f35

Please sign in to comment.