Esempio n. 1
0
 public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void *input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void *param_value, [Flow(FlowDirection.Out)] Span <nuint> param_value_size_ret)
 {
     // SpanOverloader
     return(thisApi.GetKernelSubGroupInfo(in_kernel, in_device, param_name, input_value_size, input_value, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()));
 }
Esempio n. 2
0
 public static unsafe int GetKernelSubGroupInfo <T0, T1>(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan <T0> input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span <T1> param_value, [Flow(FlowDirection.Out)] Span <nuint> param_value_size_ret) where T0 : unmanaged where T1 : unmanaged
 {
     // SpanOverloader
     return(thisApi.GetKernelSubGroupInfo(in_kernel, in_device, param_name, input_value_size, in input_value.GetPinnableReference(), param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()));
 }
 public static unsafe int GetKernelSubGroupInfo <T0>(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void *input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span <T0> param_value, [Flow(FlowDirection.Out)] Span <UIntPtr> param_value_size_ret) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.GetKernelSubGroupInfo(in_kernel, in_device, param_name, input_value_size, input_value, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()));
 }