clinfo
9 years agoCleanups by clang's static analyzer
Giuseppe Bilotta [Wed, 25 Mar 2015 16:55:28 +0000 (17:55 +0100)] 
Cleanups by clang's static analyzer

9 years agoClean build with -Wextra
Giuseppe Bilotta [Wed, 25 Mar 2015 16:38:25 +0000 (17:38 +0100)] 
Clean build with -Wextra

9 years agoMark unused parameters
Giuseppe Bilotta [Wed, 25 Mar 2015 16:38:02 +0000 (17:38 +0100)] 
Mark unused parameters

9 years agoSuppress sign-compare warnings
Giuseppe Bilotta [Wed, 25 Mar 2015 15:44:56 +0000 (16:44 +0100)] 
Suppress sign-compare warnings

9 years agoList mode: document in man and add a TODO
Giuseppe Bilotta [Wed, 25 Mar 2015 13:00:11 +0000 (14:00 +0100)] 
List mode: document in man and add a TODO

9 years agoList mode output tuning
Giuseppe Bilotta [Wed, 25 Mar 2015 12:54:49 +0000 (13:54 +0100)] 
List mode output tuning

9 years agoDifferent glyph for last device in list view
Giuseppe Bilotta [Wed, 25 Mar 2015 12:48:04 +0000 (13:48 +0100)] 
Different glyph for last device in list view

9 years agoList offline devices too in offline mode
Giuseppe Bilotta [Wed, 25 Mar 2015 12:44:00 +0000 (13:44 +0100)] 
List offline devices too in offline mode

This requires getting platform extensions too. Just take all info.

9 years agoPreliminary support for list mode
Giuseppe Bilotta [Wed, 25 Mar 2015 11:30:18 +0000 (12:30 +0100)] 
Preliminary support for list mode

Feature request, follows the idea simleb's clinfo to optionally provide
just a simple list of platforms and devices (by name), without any
properties.

9 years agoWarn about ignored command-line parameters
Giuseppe Bilotta [Wed, 25 Mar 2015 10:04:44 +0000 (11:04 +0100)] 
Warn about ignored command-line parameters

9 years agoVersion 2.0.15.03.24 2.0.15.03.24
Giuseppe Bilotta [Tue, 24 Mar 2015 09:15:45 +0000 (10:15 +0100)] 
Version 2.0.15.03.24

9 years agoTag versions
Giuseppe Bilotta [Tue, 24 Mar 2015 09:14:58 +0000 (10:14 +0100)] 
Tag versions

9 years agoMore format macro fixes for Windows
Giuseppe Bilotta [Mon, 9 Feb 2015 09:16:04 +0000 (10:16 +0100)] 
More format macro fixes for Windows

9 years agoRemove last hard-coded %zu
Giuseppe Bilotta [Sun, 8 Feb 2015 09:30:10 +0000 (10:30 +0100)] 
Remove last hard-coded %zu

Use the PRIuS macro instead, for portability.

9 years agoThe GFXIP prop from AMD is 'Graphics IP'
Giuseppe Bilotta [Wed, 19 Nov 2014 12:32:21 +0000 (13:32 +0100)] 
The GFXIP prop from AMD is 'Graphics IP'

As found out from the CodeXL manual.

9 years agoConditional non-default NULL context test
Giuseppe Bilotta [Tue, 18 Nov 2014 20:20:43 +0000 (21:20 +0100)] 
Conditional non-default NULL context test

Don't test non-default platforms if there's only one platform.

9 years agoZero inits everywhere
Giuseppe Bilotta [Tue, 18 Nov 2014 20:17:43 +0000 (21:17 +0100)] 
Zero inits everywhere

9 years agoHandle lack of platforms more gracefully
Giuseppe Bilotta [Tue, 18 Nov 2014 20:11:31 +0000 (21:11 +0100)] 
Handle lack of platforms more gracefully

9 years agoFormat fixes
Giuseppe Bilotta [Tue, 18 Nov 2014 20:05:14 +0000 (21:05 +0100)] 
Format fixes

9 years agoTwo new undocumented AMD properties
Giuseppe Bilotta [Tue, 18 Nov 2014 20:00:44 +0000 (21:00 +0100)] 
Two new undocumented AMD properties

9 years agoSome support for cl_amd_offline_devices
Giuseppe Bilotta [Mon, 17 Nov 2014 23:49:00 +0000 (00:49 +0100)] 
Some support for cl_amd_offline_devices

9 years agoTypos in man
Giuseppe Bilotta [Mon, 17 Nov 2014 21:28:45 +0000 (22:28 +0100)] 
Typos in man

9 years agoVersion 2.0.14.11.16 2.0.14.11.16
Giuseppe Bilotta [Sun, 16 Nov 2014 19:52:02 +0000 (20:52 +0100)] 
Version 2.0.14.11.16

9 years agoMan page rearrangement
Giuseppe Bilotta [Sun, 16 Nov 2014 19:51:41 +0000 (20:51 +0100)] 
Man page rearrangement

9 years agoQuery ICD loader properties if possible
Giuseppe Bilotta [Sun, 16 Nov 2014 19:51:22 +0000 (20:51 +0100)] 
Query ICD loader properties if possible

9 years agoRemove dead increments (clang-scan)
Giuseppe Bilotta [Thu, 13 Nov 2014 07:15:31 +0000 (08:15 +0100)] 
Remove dead increments (clang-scan)

9 years agoVersion 2.0.14.11.11 2.0.14.11.11
Giuseppe Bilotta [Tue, 11 Nov 2014 21:11:11 +0000 (22:11 +0100)] 
Version 2.0.14.11.11

9 years agoAdjust documentation
Giuseppe Bilotta [Tue, 11 Nov 2014 21:08:42 +0000 (22:08 +0100)] 
Adjust documentation

9 years agoTest NULL properties in clCreateContextFromType
Giuseppe Bilotta [Tue, 11 Nov 2014 21:08:34 +0000 (22:08 +0100)] 
Test NULL properties in clCreateContextFromType

9 years agoclGetPlatformInfo can also take a NULL cl_platform_id
Giuseppe Bilotta [Tue, 11 Nov 2014 16:45:23 +0000 (17:45 +0100)] 
clGetPlatformInfo can also take a NULL cl_platform_id

9 years agoVersion 2.0.14.11.10 2.0.14.11.10
Giuseppe Bilotta [Mon, 10 Nov 2014 21:37:22 +0000 (22:37 +0100)] 
Version 2.0.14.11.10

9 years agoSome cleanups
Giuseppe Bilotta [Mon, 10 Nov 2014 21:37:16 +0000 (22:37 +0100)] 
Some cleanups

9 years agoDocument NULL platform checks
Giuseppe Bilotta [Mon, 10 Nov 2014 21:25:54 +0000 (22:25 +0100)] 
Document NULL platform checks

9 years agoReport implementation behavior for NULL platform
Giuseppe Bilotta [Mon, 10 Nov 2014 21:21:43 +0000 (22:21 +0100)] 
Report implementation behavior for NULL platform

Useful to determine the default platform from clGetDeviceIDs(NULL, ...),
and the correctness of the behavior of clCreateContext(NULL, ...).

9 years agoCustom, safer, copy to strbuf
Giuseppe Bilotta [Mon, 10 Nov 2014 14:36:38 +0000 (15:36 +0100)] 
Custom, safer, copy to strbuf

This also avoids format-security warnings.

9 years agoAppend to CFLAGS, don't overwrite
Giuseppe Bilotta [Mon, 10 Nov 2014 13:42:04 +0000 (14:42 +0100)] 
Append to CFLAGS, don't overwrite

9 years agoComment fix
Giuseppe Bilotta [Mon, 10 Nov 2014 13:41:27 +0000 (14:41 +0100)] 
Comment fix

9 years agoLine prefix with platform/device in raw mode device info
Giuseppe Bilotta [Sat, 8 Nov 2014 21:41:14 +0000 (22:41 +0100)] 
Line prefix with platform/device in raw mode device info

9 years agoPurge obsolete macros
Giuseppe Bilotta [Sat, 8 Nov 2014 20:16:11 +0000 (21:16 +0100)] 
Purge obsolete macros

9 years agoRaw output tuning
Giuseppe Bilotta [Sat, 8 Nov 2014 20:14:07 +0000 (21:14 +0100)] 
Raw output tuning

9 years agoOops
Giuseppe Bilotta [Sat, 8 Nov 2014 19:50:11 +0000 (20:50 +0100)] 
Oops

9 years agoScript to update the version string
Giuseppe Bilotta [Fri, 7 Nov 2014 16:57:46 +0000 (17:57 +0100)] 
Script to update the version string

9 years agoVersion 2.0.14.11.07 2.0.14.11.07
Giuseppe Bilotta [Fri, 7 Nov 2014 16:55:38 +0000 (17:55 +0100)] 
Version 2.0.14.11.07

9 years agoCommand-line processing
Giuseppe Bilotta [Fri, 7 Nov 2014 16:28:08 +0000 (17:28 +0100)] 
Command-line processing

9 years agoRaw mode fixes github/traits origin/traits
Giuseppe Bilotta [Fri, 7 Nov 2014 15:14:22 +0000 (16:14 +0100)] 
Raw mode fixes

9 years agoLess hackish approach to affinity domain mess
Giuseppe Bilotta [Fri, 7 Nov 2014 15:06:03 +0000 (16:06 +0100)] 
Less hackish approach to affinity domain mess

9 years agoMinor fixes
Giuseppe Bilotta [Fri, 7 Nov 2014 14:57:16 +0000 (15:57 +0100)] 
Minor fixes

9 years agoDone with the traits
Giuseppe Bilotta [Fri, 7 Nov 2014 14:54:53 +0000 (15:54 +0100)] 
Done with the traits

9 years agoUgh, typo
Giuseppe Bilotta [Fri, 7 Nov 2014 13:36:21 +0000 (14:36 +0100)] 
Ugh, typo

9 years agoImages, local and constant memory traits
Giuseppe Bilotta [Fri, 7 Nov 2014 13:34:42 +0000 (14:34 +0100)] 
Images, local and constant memory traits

9 years agoMisc traits
Giuseppe Bilotta [Fri, 7 Nov 2014 12:39:48 +0000 (13:39 +0100)] 
Misc traits

9 years agoAMD memory fixes
Giuseppe Bilotta [Fri, 7 Nov 2014 12:12:41 +0000 (13:12 +0100)] 
AMD memory fixes

9 years agoDifferentiate 'next partitionable' and 'next fissionable'
Giuseppe Bilotta [Fri, 7 Nov 2014 12:11:43 +0000 (13:11 +0100)] 
Differentiate 'next partitionable' and 'next fissionable'

Although the way to do it avoiding string repeat is a horrible hack.

9 years agoMissing 'Floating-point support' string
Giuseppe Bilotta [Fri, 7 Nov 2014 11:57:56 +0000 (12:57 +0100)] 
Missing 'Floating-point support' string

9 years agoDevice Partition header only if device partition is supported
Giuseppe Bilotta [Fri, 7 Nov 2014 11:49:08 +0000 (12:49 +0100)] 
Device Partition header only if device partition is supported

9 years agoSVM traits
Giuseppe Bilotta [Fri, 7 Nov 2014 11:40:21 +0000 (12:40 +0100)] 
SVM traits

9 years agoGlobal memory traits
Giuseppe Bilotta [Thu, 6 Nov 2014 14:05:22 +0000 (15:05 +0100)] 
Global memory traits

9 years agoArch traits
Giuseppe Bilotta [Thu, 6 Nov 2014 13:18:21 +0000 (14:18 +0100)] 
Arch traits

9 years agoFP_CONFIG traits
Giuseppe Bilotta [Thu, 6 Nov 2014 13:01:49 +0000 (14:01 +0100)] 
FP_CONFIG traits

9 years agoPreferred / native vector width traits
Giuseppe Bilotta [Thu, 6 Nov 2014 10:42:49 +0000 (11:42 +0100)] 
Preferred / native vector width traits

9 years agoFix device extension identification for double
Giuseppe Bilotta [Thu, 6 Nov 2014 09:31:38 +0000 (10:31 +0100)] 
Fix device extension identification for double

9 years agoWork group sizes traits
Giuseppe Bilotta [Thu, 6 Nov 2014 09:28:48 +0000 (10:28 +0100)] 
Work group sizes traits

9 years agoBuild with debug and all warnings enabled
Giuseppe Bilotta [Wed, 5 Nov 2014 21:42:03 +0000 (22:42 +0100)] 
Build with debug and all warnings enabled

9 years agoTraits for device partition
Giuseppe Bilotta [Wed, 5 Nov 2014 21:41:40 +0000 (22:41 +0100)] 
Traits for device partition

9 years agoFurther progress in dev info traits
Giuseppe Bilotta [Tue, 4 Nov 2014 20:14:37 +0000 (21:14 +0100)] 
Further progress in dev info traits

9 years agoDevice Topology (NV) traits
Giuseppe Bilotta [Tue, 4 Nov 2014 19:29:01 +0000 (20:29 +0100)] 
Device Topology (NV) traits

9 years agoIntroduce output-mode specific device info
Giuseppe Bilotta [Tue, 4 Nov 2014 18:54:00 +0000 (19:54 +0100)] 
Introduce output-mode specific device info

9 years agoDevice topology AMD traits
Giuseppe Bilotta [Tue, 4 Nov 2014 18:46:58 +0000 (19:46 +0100)] 
Device topology AMD traits

9 years agoHack to pass devtype to the device info checks
Giuseppe Bilotta [Tue, 4 Nov 2014 18:25:45 +0000 (19:25 +0100)] 
Hack to pass devtype to the device info checks

9 years agoDevice type as traits (almost)
Giuseppe Bilotta [Tue, 4 Nov 2014 18:18:00 +0000 (19:18 +0100)] 
Device type as traits (almost)

9 years agoDevice extensions via traits
Giuseppe Bilotta [Tue, 4 Nov 2014 18:01:13 +0000 (19:01 +0100)] 
Device extensions via traits

9 years agoCleanup extensions treatment
Giuseppe Bilotta [Tue, 4 Nov 2014 17:32:22 +0000 (18:32 +0100)] 
Cleanup extensions treatment

9 years agoStart working on traits approach for device info
Giuseppe Bilotta [Tue, 4 Nov 2014 17:24:17 +0000 (18:24 +0100)] 
Start working on traits approach for device info

9 years agoPreliminary change to ease switching device info over to traits
Giuseppe Bilotta [Tue, 4 Nov 2014 13:28:51 +0000 (14:28 +0100)] 
Preliminary change to ease switching device info over to traits

9 years agoRaw vs human output modes
Giuseppe Bilotta [Tue, 4 Nov 2014 11:45:15 +0000 (12:45 +0100)] 
Raw vs human output modes

9 years agoConditional platform property check
Giuseppe Bilotta [Mon, 3 Nov 2014 21:10:42 +0000 (22:10 +0100)] 
Conditional platform property check

9 years agoConvert platform info to traits mechanism
Giuseppe Bilotta [Mon, 3 Nov 2014 19:05:56 +0000 (20:05 +0100)] 
Convert platform info to traits mechanism

9 years agoAdd missing header to ms_support.h
Giuseppe Bilotta [Mon, 27 Oct 2014 20:45:32 +0000 (21:45 +0100)] 
Add missing header to ms_support.h

9 years agoSupport older OpenCL 1.2 headers
Giuseppe Bilotta [Mon, 27 Oct 2014 20:33:57 +0000 (21:33 +0100)] 
Support older OpenCL 1.2 headers

9 years agoInitial support for Microsoft's C compiler
Giuseppe Bilotta [Mon, 27 Oct 2014 20:09:31 +0000 (21:09 +0100)] 
Initial support for Microsoft's C compiler

9 years agoPut format macro inclusion/definition in own header
Giuseppe Bilotta [Mon, 27 Oct 2014 20:04:03 +0000 (21:04 +0100)] 
Put format macro inclusion/definition in own header

9 years agoTweaks for easier MSVC support
Giuseppe Bilotta [Mon, 27 Oct 2014 19:53:33 +0000 (20:53 +0100)] 
Tweaks for easier MSVC support

9 years agoProperly support multi-type devices
Giuseppe Bilotta [Mon, 27 Oct 2014 18:32:58 +0000 (19:32 +0100)] 
Properly support multi-type devices

9 years agocl_amd_svm support
Giuseppe Bilotta [Sun, 26 Oct 2014 23:00:39 +0000 (00:00 +0100)] 
cl_amd_svm support

9 years agoHandle unspecified partition types
Giuseppe Bilotta [Sun, 26 Oct 2014 22:48:10 +0000 (23:48 +0100)] 
Handle unspecified partition types

Some versions of the AMD driver claim the GPU supports device partition
(to as many subdevices as there are CUs), but then they don't specify
any supported partition type.

9 years agoUp clinfo version in manpage 2.0.14.10.26
Giuseppe Bilotta [Sun, 26 Oct 2014 22:32:46 +0000 (23:32 +0100)] 
Up clinfo version in manpage

9 years agoDocument preliminary 2.0 support
Giuseppe Bilotta [Sun, 26 Oct 2014 22:32:01 +0000 (23:32 +0100)] 
Document preliminary 2.0 support

9 years agoIntroduce support for 2.0 properties
Giuseppe Bilotta [Sun, 26 Oct 2014 22:29:03 +0000 (23:29 +0100)] 
Introduce support for 2.0 properties

9 years agoAdd 2.0 core properties to ext.h
Giuseppe Bilotta [Sun, 26 Oct 2014 21:03:24 +0000 (22:03 +0100)] 
Add 2.0 core properties to ext.h

Because headers aren't in widespread circulation yet.

9 years agoCleanup 1.2 device detection and add 2.0
Giuseppe Bilotta [Sun, 26 Oct 2014 20:56:09 +0000 (21:56 +0100)] 
Cleanup 1.2 device detection and add 2.0

9 years agoAdd forgotten CL_DEVICE_VENDOR_ID
Giuseppe Bilotta [Sun, 26 Oct 2014 20:18:04 +0000 (21:18 +0100)] 
Add forgotten CL_DEVICE_VENDOR_ID

9 years agominor manpage tuning
Giuseppe Bilotta [Sun, 26 Oct 2014 07:42:11 +0000 (08:42 +0100)] 
minor manpage tuning

9 years agoSkip leading whitespaces in strings
Giuseppe Bilotta [Thu, 16 Oct 2014 07:06:05 +0000 (09:06 +0200)] 
Skip leading whitespaces in strings

9 years agoAdd PCI-E to NVIDIA's device topology output
Giuseppe Bilotta [Thu, 16 Oct 2014 06:55:38 +0000 (08:55 +0200)] 
Add PCI-E to NVIDIA's device topology output

It's not needed (NVIDIA doesn't expose other forms of topology),
but this way it's consistent with AMD's.

9 years agoCleanup memory presentation
Giuseppe Bilotta [Thu, 16 Oct 2014 06:53:02 +0000 (08:53 +0200)] 
Cleanup memory presentation

No whitespace in parenthesis, show KiB etc instead of KB etc, promote
exact magnitude orders to the next (e.g. 1024KiB => 1MiB).

9 years agoSingle-precision is part of core
Giuseppe Bilotta [Mon, 29 Sep 2014 06:05:13 +0000 (08:05 +0200)] 
Single-precision is part of core

It has been objected that while the other floating-point precision
capabilities always have something next to them (either n/a or the
extension through which they are supported), single-precision doesn't.
Since it's always supported because it's part of core, just mark it as
such, to make it consistent with the other, and with things such as the
support for device partition.

9 years agowrite_only and read_only are only for images
Giuseppe Bilotta [Sun, 28 Sep 2014 04:12:56 +0000 (06:12 +0200)] 
write_only and read_only are only for images

9 years agoUp clinfo version in manpage 1.2.14.9.27
Giuseppe Bilotta [Sat, 27 Sep 2014 10:23:36 +0000 (12:23 +0200)] 
Up clinfo version in manpage

9 years agoDump build log on stderr in case of failure
Giuseppe Bilotta [Sat, 27 Sep 2014 07:08:10 +0000 (09:08 +0200)] 
Dump build log on stderr in case of failure

... during work-group size detection. This should make it easier to
debug this situation.

9 years agocl_APPLE_fp64_basic_ops
Giuseppe Bilotta [Fri, 26 Sep 2014 20:42:41 +0000 (22:42 +0200)] 
cl_APPLE_fp64_basic_ops