提交 fc358816 编写于 作者: F fengjiayi

try adjusting building config

上级 82c60bbb
cc_library(majel SRCS place.cc ddim.cc)
cc_library(place SRCS place.cc)
cc_library(ddim SRCS ddim.cc)
if(WITH_TESTING)
add_subdirectory(test)
......
......@@ -5,8 +5,8 @@
#include <stdexcept>
#include <type_traits>
#include "paddle/majel/detail/cuda_assert.h"
#include "paddle/majel/detail/hostdevice.h"
#include "paddle/majel/detail/util.h"
namespace majel {
......
cc_test(place_test
SRCS place_test.cc
DEPS majel)
DEPS place)
cc_test(ddim_test
SRCS ddim_test.cc
DEPS majel)
DEPS ddim)
if(WITH_GPU)
nv_test(cuda_test SRCS cuda_test.cu)
nv_test(dim_test SRCS dim_test.cu DEPS majel)
nv_test(dim_test SRCS dim_test.cu DEPS ddim)
endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册