Mercurial > hg > truffle
diff src/gpu/ptx/vm/gpu_ptx.hpp @ 13922:0995dcbd6dd8
Change CUDA context management to support multiple executions of a kernel. Exclude GPU offloading of lambdas from java.* library code.
author | S.Bharadwaj Yadavalli <bharadwaj.yadavalli@oracle.com> |
---|---|
date | Mon, 10 Feb 2014 14:38:42 -0500 |
parents | 51584f76462d |
children | 66e3af78ea96 |
line wrap: on
line diff
--- a/src/gpu/ptx/vm/gpu_ptx.hpp Mon Feb 10 16:13:21 2014 +0100 +++ b/src/gpu/ptx/vm/gpu_ptx.hpp Mon Feb 10 14:38:42 2014 -0500 @@ -112,6 +112,8 @@ // static native int getAvailableProcessors0(); JNIEXPORT static jint get_total_cores(JNIEnv *env, jobject); + JNIEXPORT static void destroy_ptx_context(); + // Links the CUDA driver library functions static bool link();