+retire for today

This commit is contained in:
Evghenii
2014-01-06 17:02:26 +01:00
parent f130bfd25c
commit 277fd2f8eb
2 changed files with 5 additions and 1 deletions

View File

@@ -4,3 +4,7 @@ ISPC=ispc
PTXCC=ptxcc
$(cat $1 |grep -v 'width'|$ISPC --target=nvptx --emit-llvm -o -|$LLC -march=nvptx64 -mcpu=sm_35 -o $1.ptx)
$($PTXCC $1.ptx -Xptxas=-v -o $1.ptx.o)
nvcc -o test_nvptx test_static_nvptx.cpp examples_ptx/nvcc_helpers.cu $1.ptx.o -arch=sm_35 -Iexamples_ptx/ -D_CUDA_ -lcudadevrt -DTEST_SIG=$2

View File

@@ -73,7 +73,7 @@ int main(int argc, char *argv[]) {
float *vfloat = new float[64];
double *vdouble = new double[64];
int *vint = new int[64];
int *vint2 = new int2[64];
int *vint2 = new int[64];
for (int i = 0; i < 64; ++i) {
returned_result[i] = -1e20;