Summary
Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 5/21/13 15:49
Recent Commits
>
--git a/CHANGE-LOG b/CHANGE-LOG
index bacd4bf..f8979ec 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -10,6 +10,7 @@ Phoronix Test Suite 4.0 Milestone 2
- pts-core: When detecting a GPU/OpenGL comparison, report the detailed GPU system table information
- pts-core: Fix PRESET_OPTIONS failing when specifying an option value rather than its index
- pts-core: Archive vdpauinfo when available
+- phodevi: Detection support for Intel IOC (Intel Offline Compiler) OpenCL SDK
- phodevi: Support for detecting GLAMOR (Intel OpenGL-accelerated X.Org Driver) acceleration
- pts_Graph: Fix rounding issue on pts tables that are very wide
- pts_Graph: Add 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,6 +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($sv, 0, strpos($sv, ' '));
+
+ if(is_numeric($sv))
+ {
+ $compilers['ioc'] .= ' ' . $sv;
+ }
+
+ if(($s = strpos($info, 'version ')) != false)
+ {
+ $sv = substr($info, ($s + 8));
+ $sv = substr($sv, 0, strpos($sv, ' '));
+
+ if(pts_strings::is_version($sv))
+ {
+ $compilers['ioc'] .= ' v' . $sv;
+ }
+ }
+ }
+ }
+
if(pts_client::executable_in_path('icc'))
{
// Intel C++ Compiler
<
Copyright © 2013 by Phoronix Media