Skip to content

Commit c9e6c1a

Browse files
Georgi Mirazchiyskikbenzie
authored andcommitted
Update unsupported advice flag warning message
1 parent 86e86f9 commit c9e6c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/hip/enqueue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,7 @@ urEnqueueUSMAdvise(ur_queue_handle_t hQueue, const void *pMem, size_t size,
16011601
// Therefore, warn the user instead of throwing and aborting the runtime.
16021602
if (Result == UR_RESULT_ERROR_INVALID_ENUMERATION) {
16031603
setErrorMessage("mem_advise is ignored as the advice argument is not "
1604-
" supported by this device.",
1604+
"supported by this device",
16051605
UR_RESULT_SUCCESS);
16061606
return UR_RESULT_ERROR_ADAPTER_SPECIFIC;
16071607
}

0 commit comments

Comments
 (0)