File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ BINARIES=manual_nvtx compiler_inst_nvtx
3333all : $(BINARIES )
3434
3535inst_nvtx.o : inst_nvtx.cpp Makefile
36- g++ -fPIC -I${CUDA_ROOT} /include -c inst_nvtx.cpp
36+ g++ -export-dynamic - fPIC -I${CUDA_ROOT} /include -c inst_nvtx.cpp
3737
3838manual_nvtx : manual_nvtx.cu Makefile
39- nvcc -DUSE_NVTX -arch=sm_20 -lnvToolsExt -o manual_nvtx manual_nvtx.cu
39+ nvcc -Xcompiler -export-dynamic - DUSE_NVTX -arch=sm_20 -lnvToolsExt -o manual_nvtx manual_nvtx.cu
4040
4141compiler_inst_nvtx : compiler_inst_nvtx.cu Makefile inst_nvtx.o
42- nvcc -Xcompiler -fPIC -Xcompiler -finstrument-functions -arch=sm_20 inst_nvtx.o -ldl -lnvToolsExt -o compiler_inst_nvtx compiler_inst_nvtx .cu
42+ nvcc -Xcompiler -export-dynamic -Xcompiler - fPIC -Xcompiler -finstrument-functions -arch=sm_20 inst_nvtx.o -ldl -lnvToolsExt -o compiler_inst_nvtx compiler_inst_nvtx1 .cu
4343
4444clean :
4545 rm -f * .o $(BINARIES )
You can’t perform that action at this time.
0 commit comments