projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 5/21/13 15:49

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Tue 5/21/13 15:49
Michael Larabel  
Phoronix Test Suite... 
Fri 5/17/13 22:52
Michael Larabel  
phodevi: Report CPU... 
Wed 5/15/13 21:50
Michael Larabel  
Phoronix Test Suite... 
Wed 5/15/13 21:39
Michael Larabel  
pts-core: DragonFlyBSD... 
Wed 5/15/13 15:47
Michael Larabel  
pts-core: Updates from... 
Wed 5/15/13 15:43
Michael Larabel  
 
 
> --git a/CHANGE-LOG b/CHANGE-LOG
index bacd4bf
..f8979ec 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -10,+10,@@ Phoronix Test Suite 4.0 Milestone 2
 
pts-coreWhen detecting a GPU/OpenGL comparisonreport the detailed GPU system table information
 
pts-coreFix PRESET_OPTIONS failing when specifying an option value rather than its index
 
pts-coreArchive vdpauinfo when available
+- phodeviDetection support for Intel IOC (Intel Offline CompilerOpenCL SDK
 
phodeviSupport for detecting GLAMOR (Intel OpenGL-accelerated X.Org Driveracceleration
 
pts_GraphFix rounding issue on pts tables that are very wide
 
pts_GraphAdd SideViewTable
diff 
--git a/pts-core/objects/phodevi/components/phodevi_system.php b/pts-core/objects/phodevi/components/phodevi_system.php
index 118cd93
..67346bf 100644
--- a/pts-core/objects/phodevi/components/phodevi_system.php
+++ b/pts-core/objects/phodevi/components/phodevi_system.php
@@ -623,+623,36 @@ class phodevi_system extends phodevi_device_interface
             
}
         }

+        if(
pts_client::executable_in_path('ioc'))
+        {
+            
// Intel Offline Compiler (IOC) SDK for OpenCL
+            // -v e.g. : Intel(R) SDK for OpenCL* - Offline Compiler 2012 Command-Line Client, version 1.0.2
+            $info trim(shell_exec('ioc -version 2>&1')) . ' ';
+
+            if((
$s strpos($info'Offline Compiler ')) != false)
+            {
+                
$compilers['ioc'] = 'Intel IOC SDK';
+                
$sv substr($info, ($s 17));
+                
$sv substr($sv0strpos($sv' '));
+
+                if(
is_numeric($sv))
+                {
+                    
$compilers['ioc'] .= ' ' $sv;
+                }
+
+                if((
$s strpos($info'version ')) != false)
+                {
+                    
$sv substr($info, ($s 8));
+                    
$sv substr($sv0strpos($sv' '));
+
+                    if(
pts_strings::is_version($sv))
+                    {
+                        
$compilers['ioc'] .= ' v' $sv;
+                    }
+                }
+            }
+        }
+
         if(
pts_client::executable_in_path('icc'))
         {
             
// Intel C++ Compiler
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2013 by Phoronix Media