Skip to content

Commit d0e25ee

Browse files
metax666duqimengStareAtYouYuhanXu
authored
Update CMakeLists.txt (#2530)
* Update CMakeLists.txt * [Metax] Fix file name (#230) * Set MXCC_OVERRIDE_OPTIONS in compile script Add MXCC_OVERRIDE_OPTIONS for metax GPU compilation. * Add MXCC_OVERRIDE_OPTIONS for Metax GPU * Update flash_attn_grad_kernel.cu * Update compile.sh * [Metax][feat] add top_p_sampling.patch. (#225) * [Metax] Fix add flags * [Metax] update * [Metax] Fix file name --------- Co-authored-by: metax666 <metax_pde@outlook.com> Co-authored-by: MingkunZhang <39252862+StareAtYou@users.noreply.github.com> Co-authored-by: metax666 <qimeng.du@metax-tech.com> Co-authored-by: Yuhan Xu <xuyuhan@baidu.com> --------- Co-authored-by: duqimeng <77875733+duqimeng@users.noreply.github.com> Co-authored-by: MingkunZhang <39252862+StareAtYou@users.noreply.github.com> Co-authored-by: Yuhan Xu <xuyuhan@baidu.com>
1 parent d312289 commit d0e25ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

backends/metax_gpu/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,8 @@ target_link_libraries(${TARGET_NAME} ${MACA_PATH}/lib/libmccl.so)
849849
target_link_libraries(${TARGET_NAME} ${MACA_PATH}/lib/libmcFlashAttn.so)
850850
target_link_libraries(${TARGET_NAME} ${MACA_PATH}/lib/libmcpti.so)
851851

852-
target_link_options(${TARGET_NAME} PRIVATE "-T${CMAKE_SOURCE_DIR}/my_script.ld")
852+
target_link_options(${TARGET_NAME} PRIVATE
853+
"-T${CMAKE_SOURCE_DIR}/my_script.lds")
853854

854855
if(WITH_CINN)
855856
message(STATUS "[MetaX] Linking CINN object library")

0 commit comments

Comments
 (0)