Skip to content

Commit 6948fb4

Browse files
committed
[DEBUG][TEST CI] Fail all appendKernelLaunchWithArgsExpNew()
1 parent 64bc42d commit 6948fb4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

unified-runtime/source/adapters/level_zero/v2/command_list_manager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,8 @@ ur_result_t ur_command_list_manager::appendKernelLaunchWithArgsExpNew(
11401140
const ur_event_handle_t *phEventWaitList, ur_event_handle_t phEvent,
11411141
bool cooperativeKernelLaunchRequested) {
11421142

1143+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
1144+
11431145
ur_result_t checkResult = kernelLaunchChecks(hKernel, workDim);
11441146
if (checkResult != UR_RESULT_SUCCESS) {
11451147
return checkResult;

unified-runtime/test/conformance/exp_enqueue_kernel_launch_with_args/urEnqueueKernelLaunchWithArgsExp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,15 @@ TEST_P(urEnqueueKernelLaunchWithArgsTest, Success) {
159159
}
160160

161161
TEST_P(urEnqueueKernelLaunchWithArgsTest, InvalidNullHandleQueue) {
162-
ASSERT_EQ_RESULT(UR_RESULT_ERROR_INVALID_NULL_HANDLE,
162+
ASSERT_EQ_RESULT(UR_RESULT_ERROR_INVALID_NULL_POINTER,
163163
urEnqueueKernelLaunchWithArgsExp(
164164
nullptr, kernel, workDim, global_offset, global_size,
165165
local_size, args.size(), args.data(), 0, nullptr, 0,
166166
nullptr, nullptr));
167167
}
168168

169169
TEST_P(urEnqueueKernelLaunchWithArgsTest, InvalidNullHandleKernel) {
170-
ASSERT_EQ_RESULT(UR_RESULT_ERROR_INVALID_NULL_HANDLE,
170+
ASSERT_EQ_RESULT(UR_RESULT_ERROR_INVALID_NULL_POINTER,
171171
urEnqueueKernelLaunchWithArgsExp(
172172
queue, nullptr, workDim, global_offset, global_size,
173173
local_size, args.size(), args.data(), 0, nullptr, 0,

0 commit comments

Comments
 (0)