mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
It is possible that a module has so many kernels that the 4GB limit of GPU VA is depleted when each kernel allocates a 64 KB page for its own ISA. In such case, propagate the ZE_RESULT_ERROR_OUT_OF_DEVICE_MEMORY to the API caller to indicate the actual problem. Currently such scenario is not detected, the execution advances a bit further and the following crashes do not let the user to easily understand what happened. Related-To: NEO-7788 Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>