Mercurial > hg > truffle
comparison src/os/windows/vm/gpu_windows.cpp @ 13890:4cbe077ab49a
removed UseHSAILSimulator option
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 06 Feb 2014 11:20:33 +0100 |
parents | 51584f76462d |
children | 66e3af78ea96 |
comparison
equal
deleted
inserted
replaced
13889:6a030a69c3d8 | 13890:4cbe077ab49a |
---|---|
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 // TODO: add detection of PTX/NVidia | 31 // TODO: add detection of PTX/NVidia |
32 if (UseHSAILSimulator && Hsail::register_natives(env)) { | 32 if (Hsail::register_natives(env)) { |
33 return env->NewStringUTF("HSAIL"); | 33 return env->NewStringUTF("HSAIL"); |
34 } | 34 } |
35 return env->NewStringUTF(""); | 35 return env->NewStringUTF(""); |
36 } | 36 } |