diff src/gpu/ptx/gpu_ptx.hpp @ 10563:7a3499bf5e2c

PTX kernel get_function return
author Morris Meyer <morris.meyer@oracle.com>
date Thu, 27 Jun 2013 19:22:42 -0400
parents 147162b27799
children 9c7d9e2c8326
line wrap: on
line diff
--- a/src/gpu/ptx/gpu_ptx.hpp	Thu Jun 27 22:00:18 2013 +0200
+++ b/src/gpu/ptx/gpu_ptx.hpp	Thu Jun 27 19:22:42 2013 -0400
@@ -34,7 +34,7 @@
   static bool probe_linkage_apple();
 #endif
   static bool initialize_gpu();
-  static void generate_kernel(unsigned char *code, int code_len, const char *name);
+  static void * generate_kernel(unsigned char *code, int code_len, const char *name);
   
 private:
   typedef int (*cuda_cu_init_func_t)(unsigned int, int);