force add cpp file for test

This commit is contained in:
2017-05-10 14:25:39 -04:00
parent 64e1e2b008
commit ab29965d75

20
tests_ispcpp/simple.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include <stdlib.h>
#include <stdio.h>
#include "simple.h"
int main() {
double A[256];
for (int i=0; i<256; i++) {
A[i] = i / 11.;
}
ispc::foo(256, (double*)&A);
for (int i=0; i<256; i++) {
printf("%f\n", A[i]);
}
return 0;
}