public static unsafe int GetAcceleratorInfo <T0>(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] nint accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span <T0> param_value, [Flow(FlowDirection.Out)] Span <nuint> param_value_size_ret) where T0 : unmanaged { // SpanOverloader return(thisApi.GetAcceleratorInfo(accelerator, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference())); }
public static unsafe int GetAcceleratorInfo(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] IntPtr accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void *param_value, [Flow(FlowDirection.Out)] Span <UIntPtr> param_value_size_ret) { // SpanOverloader return(thisApi.GetAcceleratorInfo(accelerator, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference())); }