mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Fail build program in shared system USM + stateful access case
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-6075 After this change driver will fail clBuildProgram/zeModuleCreate api calls whenever stateful access is discovered and device has shared system usm caps enabled.This is required since in this case allocation greater than 4GB will not work. If user still wants to use stateful addressing mode, -cl-opt-smaller-than-4GB-buffers-only / -ze-opt-smaller-than-4GB-buffers-only build option should be passed as build option, but then user can not use buffers greater than 4GB.
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
d497392b55
commit
0ad8afc0b3
@ -6,4 +6,5 @@
|
||||
*/
|
||||
|
||||
__kernel void test(__global float *argGlobal, __read_only image3d_t argImg3D, __constant float *argConst) {
|
||||
argGlobal[0] = argConst[0];
|
||||
}
|
||||
|
Reference in New Issue
Block a user