IDkmGPUMemoryOperation.WriteMemory(DkmGPUComputeThread, UInt64, UInt64, Byte[]) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Écrit la mémoire dans le processus GPU cible. La méthode se trouve sur DkmGPUComputeThread, car elle peut écrire la mémoire locale des threads, la mémoire partagée de groupe ou la mémoire globale.
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())
Paramètres
- computeThread
- DkmGPUComputeThread
Dans DkmGPUComputeThread représente un thread de calcul exécuté dans le processus cible GPU.
- address
- UInt64
Dans Adresse de base à partir de laquelle écrire la mémoire du processus GPU cible.
- instructionPointer
- UInt64
Dans Pointeur d’instruction où résoudre l’adresse pour inscrire l’emplacement.
- data
- Byte[]
Dans Données à écrire dans l’espace d’adressage du processus GPU spécifié.