Skip to content
Browse files

Remove -start suffix.

  • Loading branch information...
1 parent 69fbb0b commit 139c1d37374e599ac20d6a567ca074b30c79f3e3 @inducer inducer committed
View
0 01-sequential-start.c → 01-sequential.c
File renamed without changes.
View
0 02-flexible-start.c → 02-flexible.c
File renamed without changes.
View
0 03-openmp-start.c → 03-openmp.c
File renamed without changes.
View
3 04-opencl-start.c → 04-opencl.c
@@ -24,7 +24,7 @@ int main(int argc, char **argv)
// --------------------------------------------------------------------------
// load kernels
// --------------------------------------------------------------------------
- char *knl_text = read_file("vec-add-demo.cl");
+ char *knl_text = read_file("vec-add.cl");
cl_kernel knl = kernel_from_string(ctx, knl_text, "sum", NULL);
free(knl_text);
@@ -100,6 +100,7 @@ int main(int argc, char **argv)
// --------------------------------------------------------------------------
// clean up
// --------------------------------------------------------------------------
+ CALL_CL_GUARDED(clFinish, (queue));
CALL_CL_GUARDED(clReleaseMemObject, (buf_a));
CALL_CL_GUARDED(clReleaseMemObject, (buf_b));
CALL_CL_GUARDED(clReleaseMemObject, (buf_c));
View
0 05-mpi-start.c → 05-mpi.c
File renamed without changes.
View
8 reset.sh
@@ -1,8 +0,0 @@
-#! /bin/sh
-
-for i in *-start.c; do
- cp $i ${i%%-start.c}-demo.c
-done
-for i in *-start.cl; do
- cp $i ${i%%-start.cl}-demo.cl
-done
View
0 vec-add-start.cl → vec-add.cl
File renamed without changes.

0 comments on commit 139c1d3

Please sign in to comment.
Something went wrong with that request. Please try again.