Mercurial > hg > truffle
comparison src/os/bsd/vm/gpu_bsd.cpp @ 15177:66e3af78ea96
HSAIL: added safepoint support
Contributed-by: Eric Caspole <eric.caspole@amd.com>
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 17 Apr 2014 00:44:32 +0200 |
parents | 51584f76462d |
children |
comparison
equal
deleted
inserted
replaced
15175:78f1a1a70628 | 15177:66e3af78ea96 |
---|---|
25 #include "runtime/gpu.hpp" | 25 #include "runtime/gpu.hpp" |
26 #include "ptx/vm/gpu_ptx.hpp" | 26 #include "ptx/vm/gpu_ptx.hpp" |
27 #include "hsail/vm/gpu_hsail.hpp" | 27 #include "hsail/vm/gpu_hsail.hpp" |
28 #include "utilities/ostream.hpp" | 28 #include "utilities/ostream.hpp" |
29 | 29 |
30 jobject gpu::probe_gpus(JNIEnv* env) { | 30 jobject Gpu::probe_gpus(JNIEnv* env) { |
31 #ifdef __APPLE__ | 31 #ifdef __APPLE__ |
32 /* | 32 /* |
33 * Let the CUDA driver initialization be the gate to GPU for now, pending | 33 * Let the CUDA driver initialization be the gate to GPU for now, pending |
34 * a better detection solution for NVIDA PTX and AMD HSAIL. | 34 * a better detection solution for NVIDA PTX and AMD HSAIL. |
35 */ | 35 */ |