1.3.9 Profiling Operations on Memory Objects and Kernels
A dummy Scheme function that refers callers to the other clGetEventProfilingInfo-based functions which access the true C function.
(clGetEventProfilingInfo:length | | event | | | | | | | param_name) | | → | | _size_t/c |
|
event : _cl_event/c |
param_name : _cl_profiling_info/c |
Returns the size of param_name field of the argument(s). Calls clGetEventProfilingInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetEventProfilingInfo:_cl_ulong | | event | | | | | | | param_name) | | → | | _cl_ulong/c |
|
event : _cl_event/c |
param_name : _cl_profiling_info/c |
Returns the value associated with
param_name for the argument(s). Implemented by
clGetEventProfilingInfo with
param_value_size set to
(ctype-sizeof _cl_ulong) so that the value is queried. Valid
param_names are
'(CL_PROFILING_COMMAND_QUEUED CL_PROFILING_COMMAND_SUBMIT CL_PROFILING_COMMAND_START CL_PROFILING_COMMAND_END).
clGetEventProfilingInfo/c : contract? |
A contract for the return values of clGetEventProfilingInfo:generic. Its definition is: (or/c _cl_ulong/c).
(clGetEventProfilingInfo:generic | | event | | | | param_name) | |
|
→ clGetEventProfilingInfo/c |
event : _cl_event/c |
param_name : _cl_profiling_info/c |
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetEventProfilingInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.