Skip to content

Commit c60472d

Browse files
Tweak comment again
1 parent 5f80f9d commit c60472d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/onnxruntime/core/session/onnxruntime_ep_c_api.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,9 @@ struct OrtKernelImpl {
344344
* \param[in] tensor The OrtValue instance representing the constant tensor (weight). Do not cache in the kernel.
345345
* \param[in] input_index The input index of the tensor in this kernel.
346346
* \param[in] allocator Allocator for allocating the pre-packed data. Its use is required in sharing mode and
347-
* recommended in the non-sharing mode. This will be an allocator set on the OrtEpDevice
348-
* (read-only or default) or an allocator set for the session or ORT environment via APIs
349-
* such as CreateAndRegisterAllocator, CreateAndRegisterAllocatorV2, or RegisterAllocator.
347+
* recommended, but not required, in the non-sharing mode. This will be an allocator set by
348+
* the application for the session/environment (e.g., via CreateAndRegisterAllocator[V2]
349+
* or RegisterAllocator), or an allocator on the OrtEpDevice (read-only or default) otherwise.
350350
* The allocator remains valid throughout the lifetime of the OrtKernelImpl instance.
351351
* \param[in] prepacked_weights_cache May be NULL. If not NULL, the kernel may choose to share a packed weight by
352352
* first storing it in the OrtSharedPrePackedWeightCache instance and then

0 commit comments

Comments
 (0)