Brice Videau [Wed, 16 Jan 2013 11:20:33 +0000 (12:20 +0100)]
New version
Brice Videau [Wed, 16 Jan 2013 11:20:25 +0000 (12:20 +0100)]
fix bug when loading a correct icd *after* rejecting one
Vincent Danjean [Wed, 5 Dec 2012 12:01:47 +0000 (13:01 +0100)]
Default platform is now specified
Perhaps this should be generalized to other functions
From the doc:
3: How will the ICD handle a NULL cl_platform_id?
RESOLVED: The ICD will by default choose the first enumerated platform as the NULL
platform. The user can override this default by setting an environment variable
OPENCL_ICD_DEFAULT_PLATFORM to the desired platform index. The API calls that deal
with platforms will return CL_INVALID_PLATFORM if the index is not between zero and
(number of platforms - 1), both inclusive.
Vincent Danjean [Wed, 5 Dec 2012 11:26:00 +0000 (12:26 +0100)]
[build] lower requirement on autoconf
2.67 seems enough and this is the version in Debian squeeze
Brice Videau [Tue, 4 Dec 2012 16:23:15 +0000 (17:23 +0100)]
Added windows specific functions to the table, then prevented their use in our loader for now.
Vincent Danjean [Fri, 5 Oct 2012 12:25:47 +0000 (14:25 +0200)]
Implement clGetICDLoaderInfoOCLICD extension with a test case
Vincent Danjean [Fri, 5 Oct 2012 11:49:18 +0000 (13:49 +0200)]
cleanup code
Vincent Danjean [Fri, 5 Oct 2012 11:48:55 +0000 (13:48 +0200)]
clGetExtensionFunctionAddress should return only extensions, not core functions
Vincent Danjean [Fri, 5 Oct 2012 11:46:27 +0000 (13:46 +0200)]
Fix bug for dumping the internal ICD structure
Vincent Danjean [Fri, 14 Sep 2012 09:10:13 +0000 (11:10 +0200)]
Merge branch 'master'
Vincent Danjean [Fri, 14 Sep 2012 08:52:24 +0000 (10:52 +0200)]
New release
Vincent Danjean [Fri, 14 Sep 2012 08:44:53 +0000 (10:44 +0200)]
New release
Vincent Danjean [Fri, 14 Sep 2012 08:41:50 +0000 (10:41 +0200)]
[doc] fix another typo found by lintian
Vincent Danjean [Fri, 14 Sep 2012 08:41:33 +0000 (10:41 +0200)]
[doc] remove unused synopsis
Vincent Danjean [Fri, 14 Sep 2012 07:55:23 +0000 (09:55 +0200)]
[doc] fix typo found by lintian
Vincent Danjean [Thu, 13 Sep 2012 15:16:08 +0000 (17:16 +0200)]
New release
Dump version to 2.0 due to new ways to use OCL_ICD_VENDORS
Vincent Danjean [Thu, 13 Sep 2012 15:13:04 +0000 (17:13 +0200)]
Add documentation, mainly for envvar
Vincent Danjean [Wed, 12 Sep 2012 22:44:09 +0000 (00:44 +0200)]
Add a test for the Intel workaround
We do not really test the bug itself (would require Intel ICD)
But we test that we run ICD without asking for extensions
Vincent Danjean [Wed, 12 Sep 2012 21:04:19 +0000 (23:04 +0200)]
Workaround for a bug in intel ICD with optimus
Vincent Danjean [Wed, 12 Sep 2012 21:01:21 +0000 (23:01 +0200)]
Cleanup and fix debug ifdef
Vincent Danjean [Tue, 11 Sep 2012 12:07:34 +0000 (14:07 +0200)]
Improve OCL_ICD_VENDORS envvar
Vincent Danjean [Mon, 10 Sep 2012 13:29:46 +0000 (15:29 +0200)]
Force order in output of check programs
Vincent Danjean [Mon, 10 Sep 2012 13:00:30 +0000 (15:00 +0200)]
fix 'make distcheck'
* atenv.m4 was not ditributed
* make installcheck was wrong (should be rewriten)
* atconfig must be removed at distclean
Vincent Danjean [Mon, 10 Sep 2012 12:33:31 +0000 (14:33 +0200)]
Build test programs before entering tests/ subdir
Vincent Danjean [Mon, 10 Sep 2012 12:33:02 +0000 (14:33 +0200)]
Fix log with strange behavior of clGetExtensionFunctionAddressForPlatform on Intel
With last (beta) Intel ICD, clGetExtensionFunctionAddressForPlatform
of the ICD seems to call clGetExtensionFunctionAddressForPlatform from the ICD loader itself!
=> Disabling log feature while dumping the loaded plateform for now
Vincent Danjean [Mon, 10 Sep 2012 12:30:47 +0000 (14:30 +0200)]
Fix re-entrancy in DEBUG mode while initializing.
This require support for __thread and assume that this will handled
correctly with any kind of thread in case of parallel initialization.
Vincent Danjean [Thu, 6 Sep 2012 22:27:56 +0000 (00:27 +0200)]
Update testsuite with the new entry
Vincent Danjean [Thu, 6 Sep 2012 22:26:13 +0000 (00:26 +0200)]
Merge branch 'origin/master'
Vincent Danjean [Thu, 6 Sep 2012 22:25:49 +0000 (00:25 +0200)]
Migrate to autotest
Brice Videau [Thu, 6 Sep 2012 14:01:02 +0000 (16:01 +0200)]
Found entry 92, clCreateEventFromGLsyncKHR.
Vincent Danjean [Thu, 6 Sep 2012 12:31:15 +0000 (14:31 +0200)]
Allow OCL_ICD_VENDORS to directly provide the ICD library name to load
In this case, only one ICD will be loaded.
Vincent Danjean [Thu, 6 Sep 2012 11:45:45 +0000 (13:45 +0200)]
include stdlib.h for getenv and atoi
Vincent Danjean [Thu, 6 Sep 2012 09:59:16 +0000 (11:59 +0200)]
Check the avaibility of OpenCL headers (version 1.2)
Vincent Danjean [Mon, 3 Sep 2012 12:50:26 +0000 (14:50 +0200)]
New release
Vincent Danjean [Mon, 3 Sep 2012 12:48:07 +0000 (14:48 +0200)]
Make initialisation more robust
- avoid pthread, prefer active waiting
- use a constructor to ensure early initialisation
(with luck, no concurrency is already there, so no active waiting occures)
Vincent Danjean [Mon, 3 Sep 2012 12:09:33 +0000 (14:09 +0200)]
Fix race in initialization on pthread programs
Vincent Danjean [Mon, 3 Sep 2012 11:11:02 +0000 (13:11 +0200)]
Merge branch 'master' of git+ssh://scm.forge.imag.fr/scmrepos/git/ocl-icd/ocl-icd
Vincent Danjean [Thu, 30 Aug 2012 22:26:19 +0000 (00:26 +0200)]
New release
Bump version and update NEWS
Vincent Danjean [Thu, 30 Aug 2012 22:20:52 +0000 (00:20 +0200)]
[debug] More debug info
Vincent Danjean [Thu, 30 Aug 2012 22:20:27 +0000 (00:20 +0200)]
[bug fix] clCreateContextFromType can have a NULL properties
In this case, we just need to pick a random platform
Vincent Danjean [Thu, 30 Aug 2012 22:19:05 +0000 (00:19 +0200)]
[bug fix] Initialize the library in all possible first functions
Vincent Danjean [Thu, 30 Aug 2012 22:16:57 +0000 (00:16 +0200)]
[fix] Use OpenCL supported version as version in OpenCL.pc
ocl-icd version is not relevant for applications requiring OpenCL.pc
Vincent Danjean [Thu, 19 Jul 2012 09:48:02 +0000 (11:48 +0200)]
[build] avoid deprecated function warning in debug
Not using this everywhere because it must be used when functions are used,
not when then are declared.
Vincent Danjean [Thu, 19 Jul 2012 09:38:21 +0000 (11:38 +0200)]
[build] ignore warnings of OpenCL headers even with -Werror
Vincent Danjean [Thu, 19 Jul 2012 09:14:49 +0000 (11:14 +0200)]
[build] cleanup code
move specific code in plain files, out of the generator
Vincent Danjean [Thu, 19 Jul 2012 09:13:50 +0000 (11:13 +0200)]
[debug] improve platform dump
LIG-icd test must must display the platform in order to avoid
to call lGetExtensionFunctionAddress in dummy ICD
Brice Videau [Tue, 26 Jun 2012 22:36:49 +0000 (19:36 -0300)]
Code factoring and race condition reduction.
Vincent Danjean [Sun, 24 Jun 2012 10:02:48 +0000 (12:02 +0200)]
New release
Bump version and update NEWS
Vincent Danjean [Sun, 24 Jun 2012 10:01:25 +0000 (12:01 +0200)]
Check if compiler support flags to disable expected warnings
Vincent Danjean [Sun, 24 Jun 2012 09:36:18 +0000 (11:36 +0200)]
Add a pkg-config file for ICD libraries
ocl-icd.pc is intended to be used by ICD implementation
in order to get required informations to implement compatible ICD
Vincent Danjean [Wed, 20 Jun 2012 22:20:34 +0000 (00:20 +0200)]
Merge branch 'master' of git+ssh://scm.forge.imag.fr/scmrepos/git/ocl-icd/ocl-icd
Vincent Danjean [Wed, 20 Jun 2012 22:19:25 +0000 (00:19 +0200)]
Fix compilation when updating database
A $(AM_V_GEN) is prepend to the command, so no $(AM_V_CCLD) must be included
Brice Videau [Wed, 20 Jun 2012 12:43:28 +0000 (14:43 +0200)]
Added -Wno-deprecated-declarations options to compile files that need it.
Vincent Danjean [Wed, 20 Jun 2012 12:06:09 +0000 (14:06 +0200)]
New release without autogenerated files
Vincent Danjean [Wed, 20 Jun 2012 12:03:22 +0000 (14:03 +0200)]
Distribute all required files
Vincent Danjean [Wed, 20 Jun 2012 11:59:50 +0000 (13:59 +0200)]
Do not distribute built sources
Vincent Danjean [Wed, 20 Jun 2012 11:57:17 +0000 (13:57 +0200)]
Correctly remove created directories
Vincent Danjean [Wed, 20 Jun 2012 11:40:19 +0000 (13:40 +0200)]
New release
Vincent Danjean [Wed, 20 Jun 2012 11:38:45 +0000 (13:38 +0200)]
Whitelist known missing functions in ICD Loader
Vincent Danjean [Wed, 20 Jun 2012 11:19:50 +0000 (13:19 +0200)]
cleanup code and add additionnal tests
Vincent Danjean [Tue, 19 Jun 2012 22:16:46 +0000 (00:16 +0200)]
Merge remote-tracking branch 'origin/master'
Vincent Danjean [Tue, 19 Jun 2012 22:14:15 +0000 (00:14 +0200)]
Cleanup debug, refactor libdummycl
Vincent Danjean [Tue, 19 Jun 2012 21:02:06 +0000 (23:02 +0200)]
Correct iteration in vendors/ directory
Vincent Danjean [Tue, 19 Jun 2012 21:01:06 +0000 (23:01 +0200)]
Swich to autotools
Vincent Danjean [Tue, 19 Jun 2012 10:51:24 +0000 (12:51 +0200)]
Add support for using alternate vendors configuration directory
if defined and not empty, OCL_ICD_VENDORS envvar is used
instead of /etc/OpenCL/vendors to look for icd
Brice Videau [Thu, 14 Jun 2012 14:27:40 +0000 (16:27 +0200)]
Added clGetGLContextInfoKHR to the loader.
vdanjean [Thu, 14 Jun 2012 12:38:02 +0000 (12:38 +0000)]
Improve debug mode
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@50
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Thu, 14 Jun 2012 12:38:01 +0000 (12:38 +0000)]
Add a easy way to disable DEBUG in Makefile
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@49
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 13 Jun 2012 23:06:51 +0000 (23:06 +0000)]
Fix Changelog
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@48
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 13 Jun 2012 23:02:09 +0000 (23:02 +0000)]
Bump version to 1.1
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@47
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 13 Jun 2012 22:59:23 +0000 (22:59 +0000)]
Find a new entry manually (74) and another one (92) suspected
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@46
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 13 Jun 2012 22:59:20 +0000 (22:59 +0000)]
Do not look for *EXT or *KHR functions by name
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@45
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 13 Jun 2012 22:59:18 +0000 (22:59 +0000)]
Cleanup debug
* Debug is compiled by default
* add -DDEBUG_OCL_ICD=0 in CPPFLAGS to disable debug at compile time
* run with OCL_ICD_DEBUG=15 to get all debug messages
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@44
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 13 Jun 2012 22:59:15 +0000 (22:59 +0000)]
Rewrite ICD loader
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@43
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 13 Jun 2012 22:59:13 +0000 (22:59 +0000)]
Add visibility("hidden") for all but public symbols
And fill clGetExtensionFunctionAddress to manage our own functions
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@42
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 13 Jun 2012 22:59:10 +0000 (22:59 +0000)]
Cleanup again
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@41
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 13 Jun 2012 22:53:43 +0000 (22:53 +0000)]
Rename files and cleanup includes
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@40
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 13 Jun 2012 22:53:38 +0000 (22:53 +0000)]
Format YAML output ourself
Previous hack breaks with ruby 1.9
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@39
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Fri, 8 Jun 2012 20:32:56 +0000 (20:32 +0000)]
Add missing include in ocl_icd_test.c
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@38
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 6 Jun 2012 14:43:55 +0000 (14:43 +0000)]
New version
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@37
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 6 Jun 2012 14:43:54 +0000 (14:43 +0000)]
Correctly detect no platforms when no /etc/OpenCL/vendors directory exists
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@36
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 6 Jun 2012 14:16:05 +0000 (14:16 +0000)]
Real release 1.0 (changelog updated)
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@35
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 6 Jun 2012 14:10:37 +0000 (14:10 +0000)]
Release 1.0
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@34
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Wed, 6 Jun 2012 14:10:36 +0000 (14:10 +0000)]
Generate and use a map symbol file
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@33
54081c91-f12c-4b0d-b4b4-
172e8089a626
videau [Wed, 6 Jun 2012 13:30:18 +0000 (13:30 +0000)]
Added version and symbol association.
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@32
54081c91-f12c-4b0d-b4b4-
172e8089a626
videau [Wed, 6 Jun 2012 08:52:04 +0000 (08:52 +0000)]
RTLD_DEEPBIND seemed to cause problems with intelocl and BigDFT.
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@31
54081c91-f12c-4b0d-b4b4-
172e8089a626
videau [Tue, 5 Jun 2012 09:16:20 +0000 (09:16 +0000)]
Added clGetExtensionFunctionAddress at its most probable place in the table : 65.
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@30
54081c91-f12c-4b0d-b4b4-
172e8089a626
videau [Tue, 5 Jun 2012 08:42:41 +0000 (08:42 +0000)]
Added clUnloadCompiler at its most propable place in the table :
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@29
54081c91-f12c-4b0d-b4b4-
172e8089a626
videau [Tue, 5 Jun 2012 07:50:38 +0000 (07:50 +0000)]
Copyright change.
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@28
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Fri, 1 Jun 2012 21:59:51 +0000 (21:59 +0000)]
cleanup ocl_icd.h
- add empty lines
- use system headers in #include
- add macro for API version and for number of identified functions
- stabilize the name of all unkown entries by using the entry number
- reformat the struct _cl_icd_dispatch
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@27
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Fri, 1 Jun 2012 21:59:48 +0000 (21:59 +0000)]
Cleanup and comment the Makefile
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@26
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Fri, 1 Jun 2012 21:59:46 +0000 (21:59 +0000)]
Add a message in ocl_icd_test when no plateform is found
In this case, the program exits with success and not error
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@25
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Fri, 1 Jun 2012 17:26:40 +0000 (17:26 +0000)]
release 1.0 beta2
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@24
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Fri, 1 Jun 2012 17:26:38 +0000 (17:26 +0000)]
Fix soname
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@23
54081c91-f12c-4b0d-b4b4-
172e8089a626
videau [Fri, 1 Jun 2012 14:04:33 +0000 (14:04 +0000)]
Fixed typo in Makefile
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@22
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Fri, 1 Jun 2012 13:19:36 +0000 (13:19 +0000)]
Add myself in copyright
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@21
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Fri, 1 Jun 2012 13:19:35 +0000 (13:19 +0000)]
Add 'install', 'dist', 'distcheck' targets in Makefile
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@20
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Fri, 1 Jun 2012 13:19:35 +0000 (13:19 +0000)]
force deep binding so that OpenCL implementation use their own functions
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@19
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Fri, 1 Jun 2012 13:19:34 +0000 (13:19 +0000)]
Cleanup clean/distclean Makefile rules
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@18
54081c91-f12c-4b0d-b4b4-
172e8089a626
vdanjean [Fri, 1 Jun 2012 13:19:33 +0000 (13:19 +0000)]
Update database from OpenCL 1.2 headers and AMD implementation
git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/ocl-icd/trunk@17
54081c91-f12c-4b0d-b4b4-
172e8089a626