You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this will be verified by clang-format and clang-tidy
13
16
(tool configuration is already included in NEO repository).
14
17
15
18
### 2. Certificate of origin
16
-
In order to get a clear contribution chain of trust we use the [signed-off-by language](https://01.org/community/signed-process) used by the Linux kernel project.
19
+
In order to get a clear contribution chain of trust we use the
20
+
[signed-off-by language](https://01.org/community/signed-process) used by the Linux kernel project.
17
21
Please make sure your commit message adheres to this guideline.
18
22
19
23
### 3. Patch submission
@@ -27,7 +31,8 @@ the requirements above. Make sure your commit message follows these rules:
27
31
28
32
### 4. Initial (cursory) review
29
33
30
-
One of NEO maintainers will do an initial (brief) review of your code. We will let you know if anything major is missing.
34
+
One of NEO maintainers will do an initial (brief) review of your code.
35
+
We will let you know if anything major is missing.
31
36
32
37
### 5. Verification
33
38
@@ -37,13 +42,15 @@ We'll double-check that your code meets all of our minimal quality expectations.
37
42
* Pass ULTs for all supported platforms
38
43
* Pass clang-format check with the configuration contained within repository
39
44
* Pass clang-tidy check with the configuration contained within repository
40
-
* Pass sanity testing (test content recommendation for the external community will be provided in the future)
41
-
45
+
* Pass sanity testing
46
+
(test content recommendation for the external community will be provided in the future)
47
+
42
48
When all the automated checks are confirmed to be passing, we will start actual code review process.
43
49
44
50
### 6. Code review
45
51
46
-
We'll make sure that your code fits within the architecture and design of NEO, is readable and maintainable. Please make sure to address our questions and concerns.
52
+
We'll make sure that your code fits within the architecture and design of NEO, is readable
53
+
and maintainable. Please make sure to address our questions and concerns.
47
54
48
55
### 7. Patch disposition
49
56
@@ -57,6 +64,7 @@ Your patch may be reverted later in case of major regression that was not detect
57
64
58
65
## Intel Employees
59
66
60
-
If you are an Intel Employee *and* you want to contribute to NEO as part of your regular job duties, please:
67
+
If you are an Intel Employee *and* you want to contribute to NEO as part of your regular job duties
68
+
please:
61
69
* Contact us in advance
62
-
* Make sure your github account is linked to your intel.com email address
70
+
* Make sure your github account is linked to your intel.com email address
Copy file name to clipboardExpand all lines: FAQ.md
+6-125Lines changed: 6 additions & 125 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
2
2
# Frequently asked questions
3
3
4
+
For OpenCL specific questions,
5
+
see the [OpenCL FAQ](https://github.com/intel/compute-runtime/blob/master/opencl/doc/FAQ.md).
6
+
4
7
## OS support
5
8
6
9
### Which Linux versions does NEO support?
@@ -27,10 +30,6 @@ and/or Windows update. Features available in github will be available on Windows
27
30
28
31
Note: Older platforms (e.g. Broadwell) are considered to be in maintenance mode for Windows.
29
32
30
-
### Does NEO support Android?
31
-
32
-
The code can be ported and cross-compiled for Android systems. It is our long-term intention to offer that option.
33
-
34
33
## Platform support
35
34
36
35
### Which Intel platforms are supported by the driver?
@@ -42,135 +41,17 @@ See [README.md](https://github.com/intel/compute-runtime/blob/master/README.md).
42
41
To check support for any device, you can follow these steps:
43
42
1. Go to [Ark](https://ark.intel.com) and find your Device ID
44
43
1. Find the corresponding device ID label in [GMM](https://github.com/intel/gmmlib/blob/master/Source/inc/common/igfxfmid.h)
45
-
1. Check if this device ID label is enumerated in the [supported device list](https://github.com/intel/compute-runtime/blob/master/runtime/dll/linux/devices/devices_base.inl)
44
+
1. Check if this device ID label is enumerated in the
We will start adding platform support after platform is disclosed by Intel.
50
50
It is our intention to offer full support ahead of platform's market availability.
51
51
52
-
## OpenCL version
53
-
54
-
### Which version of OpenCL is supported?
55
-
56
-
See [README.md](https://github.com/intel/compute-runtime/blob/master/README.md).
57
-
58
-
### Which platforms will receive OpenCL 2.2 support?
59
-
60
-
Any platforms supporting OpenCL 2.1 are eligible for move to OpenCL 2.2.
61
-
62
-
### How can I enable OpenCL 2.1 on the Apollo Lake / Broxton platform?
63
-
64
-
You can enable a higher version of OpenCL using the ForceOCLVersion debug flag.
65
-
66
-
## Feature: cl_cache
67
-
68
-
### What is cl_cache?
69
-
70
-
This is a mechanism to cache binary representations of OpenCL kernels provided in text form by the application.
71
-
By storing the binary representations, compiling is required only the first time, which improves performance.
72
-
73
-
### How can cl_cache be enabled?
74
-
75
-
In the working directory, manually create *cl_cache* directory.
76
-
The driver will use this directory to store the binary representations of the compiled kernels.
77
-
Note: This will work on all supported OSes.
78
-
79
-
### Configuring cl_cache location
80
-
81
-
Cached kernels can be stored in a different directory than the default one. This is useful when the application is installed into a directory for which the user doesn't have permissions.
82
-
83
-
#### Linux configuration
84
-
85
-
Set the environment variable named `cl_cache_dir` to new location of cl_cache directory.
86
-
87
-
#### Example:
88
-
89
-
If the application's directory is `/home/user/Document`, by default cl_cache will be stored in `/home/user/Document/cl_cache`.
90
-
If the new path should be `/home/user/Desktop/cl_cache_place`, set environment variable `cl_cache_dir` to `/home/user/Desktop/cl_cache_place`.
Subsequent application runs with passed source code and `cl_cache_dir` environment variable set will reuse previously cached kernel binaries instead of compiling kernels from source.
96
-
97
-
#### Windows configuration
98
-
99
-
To set the new location of cl_cache directory - in the registry `HKEY_LOCAL_MACHINE\SOFTWARE\Intel\IGFX\OCL`:
100
-
1. add key `cl_cache_dir`
101
-
1. add string value named <path_to_app> to `cl_cache_dir` key
102
-
1. set data of added value to desired location of cl_cache
103
-
104
-
#### Example:
105
-
106
-
If application is located in `C:\Program Files\application\app.exe`, by default cl_cache will be stored in `C:\Program Files\application\cl_cache`.
107
-
If the new path should be `C:\Users\USER\Documents\application\cl_cache`, to subkey `HKEY_LOCAL_MACHINE\SOFTWARE\Intel\IGFX\OCL\cl_cache_dir` add string value named `C:\Program Files\application\app.exe` with data `C:\Users\USER\Documents\application\cl_cache`.
108
-
109
-
e.g.
110
-
string value : `HKEY_LOCAL_MACHINE\SOFTWARE\Intel\IGFX\OCL\cl_cache_dir\C:\Program Files\application\app.exe`
111
-
data : `C:\Users\USER\Documents\application\cl_cache`
112
-
113
-
Neo will look for string value (REG_SZ) `C:\Program Files\application\app.exe` in key `HKEY_LOCAL_MACHINE\SOFTWARE\Intel\IGFX\OCL\cl_cache_dir`. Data of this string value will be used as new cl_cache dump directory for this specific application.
114
-
115
-
### What are the known limitations of cl_cache?
116
-
117
-
1. Not thread safe. (Workaround: Make sure your clBuildProgram calls are executed in thread safe fashion.)
118
-
1. Binary representation may not be compatible between various versions of NEO and IGC drivers. (Workaround: Manually empty *cl_cache* directory prior to update)
119
-
1. Cache is not automatically cleaned. (Workaround: Manually empty *cl_cache* directory)
120
-
1. Cache may exhaust disk space and cause further failures. (Workaround: Monitor and manually empty *cl_cache* directory)
121
-
1. Cache is not process safe.
122
-
123
-
## Feature: Out of order queues
124
-
125
-
### Implementation details of out of order queues implementation
126
-
127
-
Current implementation of out of order queues allows multiple kernels to be run concurently. This allows for better device utilization in scenarios where single kernel
1. Turning on profiling on out of order command queue serializes kernel execution.
139
-
1. Blocking command queue with user events blocks all further submissions until event is unblocked.
140
-
1. Commands blocked by user events, when unblocked are serialized as well.
141
-
142
-
## Feature: Double-precision emulation (FP64)
143
-
144
-
By default NEO driver enables double precision operations only on platforms with supporting hardware. This is signified by exposing the "cl_khr_fp64" extension in the extension string. For other platforms, this support can be emulated by the compiler (IGC).
145
-
146
-
### How do I enable emulation?
147
-
148
-
FP64 emulation can only be enabled on Linux. There are two settings that have to be set.
149
-
150
-
#### Runtime setting:
151
-
152
-
There are two ways you can enable this feature in NEO:
153
-
154
-
* Set an environment variable **OverrideDefaultFP64Settings** to **1**:
155
-
`OverrideDefaultFP64Settings=1`
156
-
157
-
* In **igdrcl.config** configuration file in the same directory as application binary (you may have to create this file) add a line as such:
158
-
`OverrideDefaultFP64Settings = 1`
159
-
160
-
#### Compiler setting:
161
-
162
-
IGC reads flags only from environment, so set **IGC_EnableDPEmulation** to **1** as such:
163
-
`IGC_EnableDPEmulation=1`
164
-
165
-
After both settings have been set you can run the application normally.
166
-
167
-
### Known issues and limitations
168
-
169
-
Intel does not claim full specification conformance when using emulated mode. We reserve the right to not fix issues that appear only in emulation mode. Performance degradation is to be expected and has not been measured by Intel.
170
-
171
52
## Who are we?
172
53
173
-
NEO OpenCL team is part of VTT (Visual Technologies Team).
54
+
NEO OpenCL team is part of VTT (Visual Technologies Team).
174
55
Historically, our team was responsible for delivery of the closed source OpenCL driver for Windows, Linux, and Android.
175
56
176
57
Most of the developers are located in Poland (UTC+1 timezone).
When building applications, they should link with ICD loader library (ocl-icd).
58
+
Directly linking to the runtime library (igdrcl) is not supported.
35
59
36
60
### Manual download
37
61
38
-
.deb packages for Ubuntu are provided along with installation instructions and Release Notes on the [release page](https://github.com/intel/compute-runtime/releases)
62
+
.deb packages for Ubuntu are provided along with installation instructions and
63
+
Release Notes on the [release page](https://github.com/intel/compute-runtime/releases)
39
64
40
65
## Dependencies
41
66
@@ -44,54 +69,37 @@ Procedures for other [distributions](https://github.com/intel/compute-runtime/bl
44
69
45
70
## Optional dependencies
46
71
47
-
To enable [cl_intel_va_api_media_sharing](https://www.khronos.org/registry/OpenCL/extensions/intel/cl_intel_va_api_media_sharing.txt) extension,
0 commit comments