Browse Source

GeTensor aligned addr & zero copy support

tags/v1.2.0
chenyemeng 3 years ago
parent
commit
9679184b8f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tests/ut/ge/CMakeLists.txt

+ 2
- 0
tests/ut/ge/CMakeLists.txt View File

@@ -704,6 +704,7 @@ add_library(ge_ut_common STATIC ${COMMON_SRC_FILES} ${PROTO_SRCS} ${PROTO_HDRS})

target_compile_definitions(ge_ut_common PRIVATE
google=ascend_private
$<$<STREQUAL:${ENABLE_OPEN_SRC},True>:ONLY_COMPILE_OPEN_SRC>
)

target_link_libraries(ge_ut_common PRIVATE
@@ -718,6 +719,7 @@ add_library(ge_ut_common_format STATIC ${COMMON_SRC_FILES} ${COMMON_FORMAT_SRC_F

target_compile_definitions(ge_ut_common_format PRIVATE
google=ascend_private
$<$<STREQUAL:${ENABLE_OPEN_SRC},True>:ONLY_COMPILE_OPEN_SRC>
)

target_link_libraries(ge_ut_common_format PRIVATE


Loading…
Cancel
Save