Skip to content

Commit 7f613c9

Browse files
committed
Adding the soft link should be part of build
Without the "CUDA --> ../src/CUDA" soft link running e.g. "test_integrator_cuda" will yield " ... Cannot open source file: CUDA/kernels.ptx Checking for compiled in version of file: CUDA/kernels.ptx Found compiled in version of file: CUDA/kernels.ptx Cannot open source file: CUDA/kernels.ptx Checking for compiled in version of file: CUDA/kernels.ptx Found compiled in version of file: CUDA/kernels.ptx Cannot open source file: CUDA/kernels.ptx Checking for compiled in version of file: CUDA/kernels.ptx Found compiled in version of file: CUDA/kernels.ptx Cannot open source file: CUDA/kernels.ptx Checking for compiled in version of file: CUDA/kernels.ptx Found compiled in version of file: CUDA/kernels.ptx Kernel files found .. building compute kernels! Creating kernel: dev_copy_particles ... " although the computations will be performed. If the soft link is added as part of "make" this "delay" will not occur and running "test_integrator_cuda" will yield " ... Kernel files found .. building compute kernels! Creating kernel: dev_copy_particles ... "
1 parent 66a87ce commit 7f613c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ OBJ = $(SRC:%.cpp=%.o)
3434

3535
PROG = test_gravity_block_cuda test_gravity_block_g5_cuda test_gravity_block_6th_cuda test_performance_rangeN_cuda test_performance_blockStep_cuda test_performance_rangeN_6th_cuda test_performance_rangeN_g5_cuda test_integrator_cuda
3636

37-
all: $(OBJ) $(PROG)
37+
all: $(OBJ) $(PROG) kernels
3838

3939

4040
kernels:

0 commit comments

Comments
 (0)