Skip to content

Commit 00b180a

Browse files
committed
Tidy
- Generate source. - Address inaccurate comments. - Remove unnecessary scope block.
1 parent 597717b commit 00b180a

File tree

5 files changed

+3
-8
lines changed

5 files changed

+3
-8
lines changed

include/ur_api.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5188,7 +5188,6 @@ typedef struct ur_kernel_arg_pointer_properties_t {
51885188
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
51895189
/// + `NULL == hKernel`
51905190
/// - ::UR_RESULT_ERROR_INVALID_KERNEL_ARGUMENT_INDEX
5191-
/// - ::UR_RESULT_ERROR_INVALID_KERNEL_ARGUMENT_SIZE
51925191
UR_APIEXPORT ur_result_t UR_APICALL
51935192
urKernelSetArgPointer(
51945193
ur_kernel_handle_t hKernel, ///< [in] handle of the kernel object

source/loader/ur_libapi.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3983,7 +3983,6 @@ ur_result_t UR_APICALL urKernelRelease(
39833983
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
39843984
/// + `NULL == hKernel`
39853985
/// - ::UR_RESULT_ERROR_INVALID_KERNEL_ARGUMENT_INDEX
3986-
/// - ::UR_RESULT_ERROR_INVALID_KERNEL_ARGUMENT_SIZE
39873986
ur_result_t UR_APICALL urKernelSetArgPointer(
39883987
ur_kernel_handle_t hKernel, ///< [in] handle of the kernel object
39893988
uint32_t argIndex, ///< [in] argument index in range [0, num args - 1]

source/ur_api.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3395,7 +3395,6 @@ ur_result_t UR_APICALL urKernelRelease(
33953395
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
33963396
/// + `NULL == hKernel`
33973397
/// - ::UR_RESULT_ERROR_INVALID_KERNEL_ARGUMENT_INDEX
3398-
/// - ::UR_RESULT_ERROR_INVALID_KERNEL_ARGUMENT_SIZE
33993398
ur_result_t UR_APICALL urKernelSetArgPointer(
34003399
ur_kernel_handle_t hKernel, ///< [in] handle of the kernel object
34013400
uint32_t argIndex, ///< [in] argument index in range [0, num args - 1]

test/conformance/kernel/urKernelGetGroupInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ struct urKernelGetGroupInfoMaxWorkGroupSizeTest : uur::urKernelTest {
2626
UUR_RETURN_ON_FATAL_FAILURE(urKernelTest::SetUp());
2727
}
2828

29-
// These values correlate to max_work_group_size<6, 5, 4> and
30-
// max_linear_work_group_size<120> in max_wg_size.cpp.
29+
// These values correlate to max_work_group_size<8, 4, 2> and
30+
// max_linear_work_group_size<64> in max_wg_size.cpp.
3131
// In SYCL, the right-most dimension varies the fastest in linearization.
3232
// In UR, this is on the left, so we reverse the order of these values.
3333
std::array<size_t, 3> max_work_group_size{2, 4, 8};

test/conformance/kernel/urKernelRetain.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ TEST_P(urKernelRetainTest, CheckReferenceCount) {
2626
nullptr));
2727
ASSERT_EQ(referenceCount, 1);
2828

29-
{
30-
ASSERT_SUCCESS(urKernelRetain(kernel));
31-
}
29+
ASSERT_SUCCESS(urKernelRetain(kernel));
3230

3331
ASSERT_SUCCESS(urKernelGetInfo(kernel, UR_KERNEL_INFO_REFERENCE_COUNT,
3432
sizeof(referenceCount), &referenceCount,

0 commit comments

Comments
 (0)