IDkmGPUMemoryOperation.WriteMemory 方法

定义

将内存写入目标 GPU 进程。 方法在 DkmGPUComputeThread 上,因为它可以写入线程本地内存、组共享内存或全局内存。

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())

参数

computeThread
DkmGPUComputeThread

中DkmGPUComputeThread 表示在 GPU 目标进程中运行的计算线程。

address
UInt64

中用于写入目标 GPU 进程的内存的基址。

instructionPointer
UInt64

中指令指针,将地址解析为注册位置。

data
Byte[]

中要写入指定 GPU 进程的地址空间中的数据。

适用于