public void UpdatePointerMode( CuBlas <AutomaticMode> parent, CuBlasPointerMode pointerMode) { // Setup the internal pointer mode ot the desired one parent.PointerMode = pointerMode; }
/// <summary> /// Constructs a new pointer scope. /// </summary> /// <param name="parent">The parent pointer scope.</param> /// <param name="pointerMode">The new pointer mode.</param> internal PointerModeScope(CuBlas <TPointerModeHandler> parent, CuBlasPointerMode pointerMode) { Debug.Assert(parent != null, "Invalid parent"); Parent = parent; OldPointerMode = parent.PointerMode; parent.PointerMode = pointerMode; }
public void UpdatePointerMode( CuBlas <ManualMode> parent, CuBlasPointerMode pointerMode) { // Do nothing }