diff --git a/examples_ptx/common_gpu.mk b/examples_ptx/common_gpu.mk index 90eff628..184a7593 100644 --- a/examples_ptx/common_gpu.mk +++ b/examples_ptx/common_gpu.mk @@ -122,7 +122,7 @@ objs_gpu/%_nvvm_ispc.ptx: objs_gpu/%_ispc.bc # generate an object file from PTX objs_gpu/%_ispc.o: objs_gpu/%_ispc.ptx - $(PTXCC) $< $(PTXCC_FLAGS) -o $@ + $(PTXCC) $< -Xnvcc="$(PTXCC_FLAGS)" -o $@