[SYCL] Improve error handling for kernel invocation#1209
Conversation
|
Could you please explain what is wrong with current error handling and how exactly you are improving it? |
|
As stated in this issue (github.com//issues/935) , the current handling covers only CL_INVALID_WORK_GROUP_SIZE error code . In this PR there is processing for:
|
7e280d6 to
d9ea950
Compare
d9ea950 to
6816f7c
Compare
There was a problem hiding this comment.
| "Number of work-items in a work-group exceed limit for dimension " | |
| "Number of work-items in a work-group exceed limit of given device for dimension " |
|
@MochalovaAn, please, resolve conflicts. |
Improve error handling in enqueue_kernel_launch::handleError. intel#935 Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
ad50247 to
98842ec
Compare
|
|
||
| const plugin &Plugin = DeviceImpl.getPlugin(); | ||
| RT::PiDevice Device = DeviceImpl.getHandleRef(); | ||
|
|
There was a problem hiding this comment.
Was this change done intentionally? If no, I suggest to revert it. The same applies to a new line above (169)
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
Signed-off-by: amochalo <anastasiya.mochalova@intel.com>
|
I would recommend to squash all commits into one manually before merge. |
Why? |
Because otherwise all commits will be squashed into one automatically with merging all commit messages into one big message with useless 'Apply remarks' lines. |
I use either first commit message or PR description for the squashed commit message or combining the information from the commit messages/description, so there is no need to "squash manually" if it's just to create a commit message for the squashed commit. |
If it is so then ok, forget my comment. |
Might happen by mistake - to err is human. |
…duler_docs * origin/sycl: (26 commits) [Driver][SYCL] Move include/sycl header before other system header locations (intel#1492) [BuildBot] Improve usability of buildbot scripts (intel#1472) [NFC] Add GitHub actions badges to README file (intel#1496) [SYCL] Improve error handling for kernel invocation (intel#1209) [SYCL][Driver] Fix SYCL standards' handling for '-fsycl -fsycl-device-only' invocations (intel#1371) [SYCL] Move type checks to later in Semantic Analysis lifecycle (intel#1465) [CI] Download fixed versions of Python tools (intel#1485) [SYCL] Fix sub_group::broadcast (intel#1482) [SYCL][Test] Disable spec_const_redefine.cpp on all devices but HOST (intel#1488) [SYCL] Only export public API (intel#1456) [SYCL][CUDA] Fix selected_binary argument in piextDeviceSelectBinary (intel#1475) [SYCL] Enable LIT testing with CUDA BE (intel#1458) [SYCL] Fix float to half-type conversion (intel#1395) [NFC] Cleanup unneded macro from builtins implementation (intel#1445) Enable cfg-printer LLVM lit tests only if LLVM linked statically (intel#1479) [SYCL][NFC] Reflect the "allowlist" renaming in the code (intel#1480) [SYCL][Doc] Update prerequisites in GetStartedGuide (intel#1466) [SYCL][USM] Remove vestigial dead code (intel#1474) [SYCL-PTX] Fix __spirv_GroupAsyncCopy stride computation (intel#1451) [Driver][SYCL] Emit an error if c compilation is forced (intel#1438) ...
Improve error handling in enqueue_kernel_launch::handleError #935