Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

libcoprthr: removed dead code

  • Loading branch information...
commit 5e0f45a87dd9ead65ae93ae5d7ef5be8800274e7 1 parent 978ef51
@browndeer authored
Showing with 17 additions and 17 deletions.
  1. +17 −17 src/libcoprthr/program.c
View
34 src/libcoprthr/program.c
@@ -453,21 +453,21 @@ int __do_find_kernel_in_program( cl_program prg, const char* kname )
return(k);
}
-static size_t get_global_size(uint d)
-{ return((__getvcdata())->workp->gtsz[d]); }
-
-static void barrier( int flags )
-{
- struct vc_data* data = __getvcdata();
- int vcid = data->vcid;
-
- if (!(setjmp(*(data->this_jbufp))))
- longjmp(*(data->next_jbufp),(vcid+1)%4+1);
-}
-
-static size_t get_global_id(uint d) {
- struct vc_data* data = __getvcdata();
- return(data->ltid[d] + data->workp->gtid[d]);
-}
-
+// XXX code below should not be used anymore -DAR
+//static size_t get_global_size(uint d)
+//{ return((__getvcdata())->workp->gtsz[d]); }
+//
+//static void barrier( int flags )
+//{
+// struct vc_data* data = __getvcdata();
+// int vcid = data->vcid;
+//
+// if (!(setjmp(*(data->this_jbufp))))
+// longjmp(*(data->next_jbufp),(vcid+1)%4+1);
+//}
+//
+//static size_t get_global_id(uint d) {
+// struct vc_data* data = __getvcdata();
+// return(data->ltid[d] + data->workp->gtid[d]);
+//}
Please sign in to comment.
Something went wrong with that request. Please try again.