clinfo
9 years agoSupport cl_qcom_ext_host_ptr extension
Giuseppe Bilotta [Fri, 22 Aug 2014 08:03:30 +0000 (10:03 +0200)] 
Support cl_qcom_ext_host_ptr extension

9 years agoMake it easier to compile clinfo for people with less recent 1.2 OpenCL header files
Giuseppe Bilotta [Fri, 22 Aug 2014 07:37:44 +0000 (09:37 +0200)] 
Make it easier to compile clinfo for people with less recent 1.2 OpenCL header files

9 years agoShift a few fields around
Giuseppe Bilotta [Wed, 13 Aug 2014 15:44:06 +0000 (17:44 +0200)] 
Shift a few fields around

9 years agoFound some extra NVIDIA properties
Giuseppe Bilotta [Wed, 13 Aug 2014 15:38:04 +0000 (17:38 +0200)] 
Found some extra NVIDIA properties

9 years agoDocument cl_khr_spir support
Giuseppe Bilotta [Wed, 13 Aug 2014 03:44:30 +0000 (05:44 +0200)] 
Document cl_khr_spir support

9 years agoShow supported SPIR versions for cl_khr_spir devices
Giuseppe Bilotta [Tue, 12 Aug 2014 10:58:25 +0000 (12:58 +0200)] 
Show supported SPIR versions for cl_khr_spir devices

9 years agoFlush stdout/err at strategic places
Giuseppe Bilotta [Thu, 31 Jul 2014 19:50:22 +0000 (21:50 +0200)] 
Flush stdout/err at strategic places

9 years agoman page cleanup 1.2.14.7.9
Giuseppe Bilotta [Wed, 9 Jul 2014 20:57:36 +0000 (22:57 +0200)] 
man page cleanup

9 years agoAdd support for AMD device topology property
Giuseppe Bilotta [Sun, 22 Jun 2014 21:18:29 +0000 (23:18 +0200)] 
Add support for AMD device topology property

9 years agoSupport cl_altera_device_temperature extension
Giuseppe Bilotta [Fri, 20 Jun 2014 09:09:32 +0000 (11:09 +0200)] 
Support cl_altera_device_temperature extension

10 years agoRemove double space in man page
Giuseppe Bilotta [Fri, 9 May 2014 06:05:41 +0000 (08:05 +0200)] 
Remove double space in man page

10 years agoRefactor MEM_PARAM parenthetical print
Giuseppe Bilotta [Tue, 29 Apr 2014 21:08:17 +0000 (23:08 +0200)] 
Refactor MEM_PARAM parenthetical print

So it can be used for the AMD Free global memory extension
without code duplication.

10 years agoBe more careful about handling cl_ types
Giuseppe Bilotta [Tue, 29 Apr 2014 21:03:07 +0000 (23:03 +0200)] 
Be more careful about handling cl_ types

Particularly, cl_ulong might not be a (host) long, since cl_ulong
is guaranteed to be 64-bit wide, while on some 32-bit architectures
the long type is only 32-bit wide. So rely on the inttypes.h definitions
and macros on the assumption that cl_ulong is an uint64_t.

While we're at it, use the correct printf format macros for other
types.

10 years agoFix param order in calloc()
Giuseppe Bilotta [Tue, 29 Apr 2014 20:23:49 +0000 (22:23 +0200)] 
Fix param order in calloc()

10 years agoTune handling of no-dev platforms
Giuseppe Bilotta [Mon, 28 Apr 2014 15:02:07 +0000 (17:02 +0200)] 
Tune handling of no-dev platforms

In case no devices are present, just skip getting the device IDs.
This ensure more consistent output (specifically, no-dev platforms
don't get stuck together with the following platform).
Also add a missing CHECK_ERROR when actually getting the IDs.

10 years agoAllocate with calloc, not malloc
Giuseppe Bilotta [Tue, 22 Apr 2014 06:12:35 +0000 (08:12 +0200)] 
Allocate with calloc, not malloc

Make sure the memory is initialized to 0, so that untouched array values
have sensible values (for example, when no devices are present in a
platform, `num_devs + p` could be untouched, and we want it to be zero
in that case).

10 years agoBetter solution to handle no-dev platforms
Giuseppe Bilotta [Mon, 21 Apr 2014 19:30:07 +0000 (21:30 +0200)] 
Better solution to handle no-dev platforms

This should also work fine when no platforms has devices available.

10 years agoAllow a platform to have no devices
Giuseppe Bilotta [Tue, 15 Apr 2014 21:17:36 +0000 (23:17 +0200)] 
Allow a platform to have no devices

10 years agoHandle errors in getWGsizes gracefully
Giuseppe Bilotta [Mon, 10 Mar 2014 20:35:08 +0000 (21:35 +0100)] 
Handle errors in getWGsizes gracefully

10 years agoIntel extension to partition by name
Giuseppe Bilotta [Mon, 10 Mar 2014 19:45:25 +0000 (20:45 +0100)] 
Intel extension to partition by name

10 years agoForgot max samplers property
Giuseppe Bilotta [Mon, 22 Jul 2013 21:51:30 +0000 (23:51 +0200)] 
Forgot max samplers property

10 years agoFix formatting string warnings
Giuseppe Bilotta [Tue, 9 Jul 2013 18:32:49 +0000 (20:32 +0200)] 
Fix formatting string warnings

10 years agoAlso show max number of sub-devices
Giuseppe Bilotta [Sun, 16 Jun 2013 14:29:05 +0000 (16:29 +0200)] 
Also show max number of sub-devices

10 years agoext.h cleanup and expansion
Giuseppe Bilotta [Thu, 13 Jun 2013 11:39:47 +0000 (13:39 +0200)] 
ext.h cleanup and expansion

10 years agoIntel local thread execution extension
Giuseppe Bilotta [Tue, 11 Jun 2013 17:58:06 +0000 (19:58 +0200)] 
Intel local thread execution extension

10 years agoDefine vendor extensions
Giuseppe Bilotta [Tue, 11 Jun 2013 17:47:35 +0000 (19:47 +0200)] 
Define vendor extensions

They might be not defined in the official headers.

10 years agoShow hex for unknown flags
Giuseppe Bilotta [Tue, 11 Jun 2013 17:17:47 +0000 (19:17 +0200)] 
Show hex for unknown flags

11 years agoFix excess buffer->strbuf replacement
Giuseppe Bilotta [Sun, 9 Jun 2013 17:21:30 +0000 (19:21 +0200)] 
Fix excess buffer->strbuf replacement

11 years agoFix extension name in man page too
Giuseppe Bilotta [Sat, 8 Jun 2013 09:29:48 +0000 (11:29 +0200)] 
Fix extension name in man page too

11 years agoFix extension name
Giuseppe Bilotta [Sat, 8 Jun 2013 09:16:26 +0000 (11:16 +0200)] 
Fix extension name

11 years agoMinor tuning
Giuseppe Bilotta [Fri, 7 Jun 2013 18:48:03 +0000 (20:48 +0200)] 
Minor tuning

11 years agoWhitespace
Giuseppe Bilotta [Fri, 7 Jun 2013 18:44:17 +0000 (20:44 +0200)] 
Whitespace

11 years agoOpenCL C Version
Giuseppe Bilotta [Fri, 7 Jun 2013 18:34:29 +0000 (20:34 +0200)] 
OpenCL C Version

11 years agoCL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT floating-point config flag
Giuseppe Bilotta [Fri, 7 Jun 2013 18:31:50 +0000 (20:31 +0200)] 
CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT floating-point config flag

11 years agoBetter wording
Giuseppe Bilotta [Fri, 7 Jun 2013 18:20:22 +0000 (20:20 +0200)] 
Better wording

11 years agoMan typo
Giuseppe Bilotta [Fri, 7 Jun 2013 18:16:28 +0000 (20:16 +0200)] 
Man typo

11 years agocl_khr_image2D_buffer extension
Giuseppe Bilotta [Fri, 7 Jun 2013 18:16:13 +0000 (20:16 +0200)] 
cl_khr_image2D_buffer extension

11 years agoMissed a couple formatting cleanups
Giuseppe Bilotta [Fri, 7 Jun 2013 18:07:30 +0000 (20:07 +0200)] 
Missed a couple formatting cleanups

11 years agoPresent the timer offset in a nicer way
Giuseppe Bilotta [Fri, 7 Jun 2013 15:38:32 +0000 (17:38 +0200)] 
Present the timer offset in a nicer way

In seconds, it gives the "start time" of the device. Display this as a
date.

11 years agoFormatting cleanup
Giuseppe Bilotta [Fri, 7 Jun 2013 11:58:02 +0000 (13:58 +0200)] 
Formatting cleanup

11 years agoMore string sanitation
Giuseppe Bilotta [Fri, 7 Jun 2013 11:34:00 +0000 (13:34 +0200)] 
More string sanitation

11 years agoRename GET_STRINGX to GET_STRING
Giuseppe Bilotta [Fri, 7 Jun 2013 10:08:55 +0000 (12:08 +0200)] 
Rename GET_STRINGX to GET_STRING

11 years agoGet rid of single-param GET_STRING, part 1
Giuseppe Bilotta [Fri, 7 Jun 2013 10:07:52 +0000 (12:07 +0200)] 
Get rid of single-param GET_STRING, part 1

Start by only using GET_STRINGX all around.

11 years agoStart refactoring
Giuseppe Bilotta [Fri, 7 Jun 2013 10:02:06 +0000 (12:02 +0200)] 
Start refactoring

11 years agoMan page
Giuseppe Bilotta [Fri, 7 Jun 2013 06:17:15 +0000 (08:17 +0200)] 
Man page

11 years agoPreferred work group size multiple
Giuseppe Bilotta [Fri, 7 Jun 2013 05:13:13 +0000 (07:13 +0200)] 
Preferred work group size multiple

11 years agoAMD device attributes (plus NV warp size)
Giuseppe Bilotta [Thu, 6 Jun 2013 15:20:33 +0000 (17:20 +0200)] 
AMD device attributes (plus NV warp size)

11 years agoAtomic counters EXT
Giuseppe Bilotta [Thu, 6 Jun 2013 15:04:36 +0000 (17:04 +0200)] 
Atomic counters EXT

11 years agoAll OpenCL 1.2 properties
Giuseppe Bilotta [Thu, 6 Jun 2013 14:59:07 +0000 (16:59 +0200)] 
All OpenCL 1.2 properties

11 years agoDevice partition/fission
Giuseppe Bilotta [Thu, 6 Jun 2013 14:51:22 +0000 (16:51 +0200)] 
Device partition/fission

11 years agoREADME and LICENSE
Giuseppe Bilotta [Thu, 6 Jun 2013 11:15:48 +0000 (13:15 +0200)] 
README and LICENSE

11 years agoImage properties and some rearrangements
Giuseppe Bilotta [Thu, 6 Jun 2013 11:11:18 +0000 (13:11 +0200)] 
Image properties and some rearrangements

11 years agoSome misc properties
Giuseppe Bilotta [Thu, 6 Jun 2013 10:45:29 +0000 (12:45 +0200)] 
Some misc properties

11 years agoStupid error in cl_error
Giuseppe Bilotta [Thu, 6 Jun 2013 10:45:16 +0000 (12:45 +0200)] 
Stupid error in cl_error

11 years agoSome NVIDIA extended info
Giuseppe Bilotta [Thu, 6 Jun 2013 10:05:16 +0000 (12:05 +0200)] 
Some NVIDIA extended info

11 years agoExtensions and FP support
Giuseppe Bilotta [Thu, 6 Jun 2013 09:52:20 +0000 (11:52 +0200)] 
Extensions and FP support

11 years agoMore device info
Giuseppe Bilotta [Wed, 5 Jun 2013 23:04:21 +0000 (01:04 +0200)] 
More device info

11 years agoStart working on device info
Giuseppe Bilotta [Wed, 5 Jun 2013 20:35:41 +0000 (22:35 +0200)] 
Start working on device info

Name only for the time being. Also refactored a lot of the code.

11 years agoInitial commit, get platform info
Giuseppe Bilotta [Wed, 5 Jun 2013 19:10:34 +0000 (21:10 +0200)] 
Initial commit, get platform info