Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
11841:6157a71e0a36 | 11842:8d8f63069f58 |
---|---|
41 static void init(void); | 41 static void init(void); |
42 | 42 |
43 static void probe_gpu(); | 43 static void probe_gpu(); |
44 | 44 |
45 static void initialize_gpu(); | 45 static void initialize_gpu(); |
46 | |
47 static int available_processors(); | |
46 | 48 |
47 static void * generate_kernel(unsigned char *code, int code_len, const char *name); | 49 static void * generate_kernel(unsigned char *code, int code_len, const char *name); |
48 | 50 |
49 static bool execute_warp(int dimX, int dimY, int dimZ, | 51 static bool execute_warp(int dimX, int dimY, int dimZ, |
50 address kernel, PTXKernelArguments & ptxka, JavaValue & ret); | 52 address kernel, PTXKernelArguments & ptxka, JavaValue & ret); |