You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Paweł Bylica 59e46ce19e cmake: Fix icd_exports.map path. 10 years ago
..
inc Check in the khronos ICD library 10 years ago
CMakeLists.txt cmake: Fix icd_exports.map path. 10 years ago
LICENSE.txt Check in the khronos ICD library 10 years ago
Makefile Check in the khronos ICD library 10 years ago
OpenCL.def Check in the khronos ICD library 10 years ago
OpenCL.rc Check in the khronos ICD library 10 years ago
README.txt Check in the khronos ICD library 10 years ago
build_using_cmake.bat Check in the khronos ICD library 10 years ago
icd.c Check in the khronos ICD library 10 years ago
icd.h Check in the khronos ICD library 10 years ago
icd_dispatch.c Check in the khronos ICD library 10 years ago
icd_dispatch.h Check in the khronos ICD library 10 years ago
icd_exports.map Check in the khronos ICD library 10 years ago
icd_linux.c Check in the khronos ICD library 10 years ago
icd_windows.c Check in the khronos ICD library 10 years ago

README.txt

== Building ICD and ICD Test ==

The build system will build ICD Loader library (OpenCL.dll or libOpenCL.so) and
ICD Loader Test binary (icd_loader_test) and some helper libraries for the test.

=== Linux ===

Run "make"

=== Windows ===

Run "build_using_cmake.bat"

== Running ICD Test ==

ICD Test can be run using ctest, which is a companion to cmake. It can also be
run directly by executing icd_loader_test(.exe) executable from the bin folder.

=== Linux ===

1. Add driver stub as an ICD
echo full/path/to/libOpenCLDriverStub.so > /etc/OpenCL/vendors/test.icd

2. Run test using ctest
make test

=== Windows ===

1. Add driver stub as an ICD by adding appropriate registry value
Key for 32-bit apps: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Khronos\OpenCL\Vendors
Key for 64-bit apps: HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors

Add a REG_DWORD value:
Name: c:/full/path/to/OpenCLDriverStub.dll
Data: 0

Note: The build_using_cmake.bat builds ICD test as a 32-bit binar