diff 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
line wrap: on
line diff
--- a/src/os_gpu/bsd_ptx/vm/gpu_bsd.cpp	Wed Sep 11 21:04:24 2013 +0200
+++ b/src/os_gpu/bsd_ptx/vm/gpu_bsd.cpp	Wed Sep 11 17:02:40 2013 -0400
@@ -33,6 +33,7 @@
    * a better detection solution for NVIDA PTX and AMD HSAIL.
    */
   set_available(true);
+  set_target_il_type(gpu::PTX);
   if (TraceGPUInteraction) {
     tty->print_cr("gpu_bsd::probe_gpu(APPLE): %d", gpu::is_available());
   }