added test
This commit is contained in:
4
examples_cuda/mandelbrot_tasks3d/test/compile.sh
Executable file
4
examples_cuda/mandelbrot_tasks3d/test/compile.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
nvcc -arch=sm_35 -dc kernel_ptx.cu -dryrun -Xptxas=-v 2>&1 | \
|
||||
sed 's/\#\$//g'| \
|
||||
awk '{if ($1=="cicc") {print $0; print "grep -ve \"\\.version\" -e \"\\.target\" -e \"\\.address_size\" ", $NF, " > __body.ptx"; print "cat __header.ptx __body.ptx >", $NF} else print $0}' > run1.sh
|
||||
Reference in New Issue
Block a user