+fix for .b0 in tests

This commit is contained in:
Evghenii
2014-02-20 11:56:21 +01:00
parent 5ca952bd9a
commit 04118d4965

View File

@@ -13,7 +13,8 @@ then
$($PTXCC $TMPDIR/$fbname.ptx -o $TMPDIR/$fbname.o -Xnvcc="-G") && \
$(nvcc test_static_nvptx.cpp examples/nvcc_helpers.cu examples/ispc_malloc.cpp $TMPDIR/$fbname.o -arch=sm_35 -Iexamples/ -D_CUDA_ -lcudadevrt $ARGS);
else
$($PTXCC $1 -o $TMPDIR/$fbname.o -Xnvcc="-G") && \
$(sed 's/\.b0/\.b32/g' $1 > $TMPDIR/$fbname) && \
$($PTXCC $TMPDIR/$fbname -o $TMPDIR/$fbname.o -Xnvcc="-G") && \
$(nvcc test_static_nvptx.cpp examples/nvcc_helpers.cu examples/ispc_malloc.cpp $TMPDIR/$fbname.o -arch=sm_35 -Iexamples/ -D_CUDA_ -lcudadevrt $ARGS);
fi