Mercurial > hg > truffle
diff src/share/vm/runtime/gpu.hpp @ 11842:8d8f63069f58
PTX warp limiter to available GPU processors
author | Morris Meyer <morris.meyer@oracle.com> |
---|---|
date | Mon, 30 Sep 2013 13:03:47 -0400 |
parents | 365d8f385fb5 |
children | f1a55428a8d7 |
line wrap: on
line diff
--- a/src/share/vm/runtime/gpu.hpp Mon Sep 30 17:03:14 2013 +0200 +++ b/src/share/vm/runtime/gpu.hpp Mon Sep 30 13:03:47 2013 -0400 @@ -43,6 +43,8 @@ static void probe_gpu(); static void initialize_gpu(); + + static int available_processors(); static void * generate_kernel(unsigned char *code, int code_len, const char *name);