Share via


IDkmGPUMemoryOperation.WriteMemory Method

Definition

Writes memory to the target GPU process. The method is on DkmGPUComputeThread because it may write thread local memory, group shared memory or global memory.

public:
 void WriteMemory(Microsoft::VisualStudio::Debugger::GPU::DkmGPUComputeThread ^ computeThread, System::UInt64 address, System::UInt64 instructionPointer, cli::array <System::Byte> ^ data);
public void WriteMemory (Microsoft.VisualStudio.Debugger.GPU.DkmGPUComputeThread computeThread, ulong address, ulong instructionPointer, byte[] data);
abstract member WriteMemory : Microsoft.VisualStudio.Debugger.GPU.DkmGPUComputeThread * uint64 * uint64 * byte[] -> unit
Public Sub WriteMemory (computeThread As DkmGPUComputeThread, address As ULong, instructionPointer As ULong, data As Byte())

Parameters

computeThread
DkmGPUComputeThread

[In] DkmGPUComputeThread represents a compute thread running in the GPU target process.

address
UInt64

[In] The base address from which to write the target GPU process's memory.

instructionPointer
UInt64

[In] The instruction pointer where to resolve address to register location.

data
Byte[]

[In] Data to be written in the address space of the specified GPU process.

Applies to