Mercurial > hg > truffle
comparison src/share/vm/graal/graalCompilerToGPU.cpp @ 11596:91e5f927af63
Initial implementation of PTXRuntime (RegisterConfig, PTX description etc); guarded with new flag UseGPU. Specify -XX:+UseGPU to exercise this new implementation.
author | bharadwaj |
---|---|
date | Tue, 10 Sep 2013 22:39:50 -0400 |
parents | 49bb1bc983c6 |
children | 365d8f385fb5 |
comparison
equal
deleted
inserted
replaced
11595:003be97acdda | 11596:91e5f927af63 |
---|---|
26 #include "graal/graalCompiler.hpp" | 26 #include "graal/graalCompiler.hpp" |
27 #include "graal/graalEnv.hpp" | 27 #include "graal/graalEnv.hpp" |
28 #include "graal/graalJavaAccess.hpp" | 28 #include "graal/graalJavaAccess.hpp" |
29 #include "runtime/gpu.hpp" | 29 #include "runtime/gpu.hpp" |
30 #include "runtime/javaCalls.hpp" | 30 #include "runtime/javaCalls.hpp" |
31 # include "ptx/vm/kernelArguments.hpp" | 31 # include "ptx/vm/ptxKernelArguments.hpp" |
32 | 32 |
33 // Entry to native method implementation that transitions current thread to '_thread_in_vm'. | 33 // Entry to native method implementation that transitions current thread to '_thread_in_vm'. |
34 #define C2V_VMENTRY(result_type, name, signature) \ | 34 #define C2V_VMENTRY(result_type, name, signature) \ |
35 JNIEXPORT result_type JNICALL c2v_ ## name signature { \ | 35 JNIEXPORT result_type JNICALL c2v_ ## name signature { \ |
36 TRACE_graal_3("CompilerToGPU::" #name); \ | 36 TRACE_graal_3("CompilerToGPU::" #name); \ |