Skip to content

Commit 6b66a73

Browse files
authored
clarify clGetEventProfilingInfo error condition (#783)
Prior to OpenCL 3.0, implementations may return CL_PROFILING_INFO_NOT_AVAILABLE for an event created by clEnqueueSVMFree.
1 parent b72bad6 commit 6b66a73

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

api/opencl_runtime_layer.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9359,6 +9359,9 @@ Otherwise, it returns one of the following errors:
93599359
not set for the command-queue, if the execution status of the command
93609360
identified by _event_ is not {CL_COMPLETE} or if _event_ is a user event
93619361
object.
9362+
Prior to OpenCL 3.0, implementations may return
9363+
{CL_PROFILING_INFO_NOT_AVAILABLE} for an event created by
9364+
{clEnqueueSvmFree}.
93629365
* {CL_INVALID_VALUE} if _param_name_ is not valid, or if size in bytes
93639366
specified by _param_value_size_ is < size of return type as described in
93649367
the <<event-profiling-info-table,Event Profiling Queries>> table and

0 commit comments

Comments
 (0)