Mercurial > hg > graal-jvmci-8
comparison src/gpu/ptx/vm/gpu_ptx.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 | c99e65785936 |
children | 4f69a5189e77 |
comparison
equal
deleted
inserted
replaced
11595:003be97acdda | 11596:91e5f927af63 |
---|---|
27 #include "runtime/gpu.hpp" | 27 #include "runtime/gpu.hpp" |
28 #include "utilities/globalDefinitions.hpp" | 28 #include "utilities/globalDefinitions.hpp" |
29 #include "utilities/ostream.hpp" | 29 #include "utilities/ostream.hpp" |
30 #include "memory/allocation.hpp" | 30 #include "memory/allocation.hpp" |
31 #include "memory/allocation.inline.hpp" | 31 #include "memory/allocation.inline.hpp" |
32 #include "kernelArguments.hpp" | 32 #include "ptxKernelArguments.hpp" |
33 | 33 |
34 void * gpu::Ptx::_device_context; | 34 void * gpu::Ptx::_device_context; |
35 int gpu::Ptx::_cu_device = 0; | 35 int gpu::Ptx::_cu_device = 0; |
36 | 36 |
37 gpu::Ptx::cuda_cu_init_func_t gpu::Ptx::_cuda_cu_init; | 37 gpu::Ptx::cuda_cu_init_func_t gpu::Ptx::_cuda_cu_init; |