Mercurial > hg > graal-compiler
comparison src/os_gpu/bsd_ptx/vm/gpu_bsd.cpp @ 11606:4f69a5189e77
Create runtime object based on GPUIL type newly added to gpu class; some code refactoring.
author | bharadwaj |
---|---|
date | Wed, 11 Sep 2013 17:02:40 -0400 |
parents | 5040ec3ff3aa |
children |
comparison
equal
deleted
inserted
replaced
11605:3676540f71cf | 11606:4f69a5189e77 |
---|---|
31 /* | 31 /* |
32 * Let the CUDA driver initialization be the gate to GPU for now, pending | 32 * Let the CUDA driver initialization be the gate to GPU for now, pending |
33 * a better detection solution for NVIDA PTX and AMD HSAIL. | 33 * a better detection solution for NVIDA PTX and AMD HSAIL. |
34 */ | 34 */ |
35 set_available(true); | 35 set_available(true); |
36 set_target_il_type(gpu::PTX); | |
36 if (TraceGPUInteraction) { | 37 if (TraceGPUInteraction) { |
37 tty->print_cr("gpu_bsd::probe_gpu(APPLE): %d", gpu::is_available()); | 38 tty->print_cr("gpu_bsd::probe_gpu(APPLE): %d", gpu::is_available()); |
38 } | 39 } |
39 #else | 40 #else |
40 if (TraceGPUInteraction) { | 41 if (TraceGPUInteraction) { |