gpu.cpp 0.1.0
 
Loading...
Searching...
No Matches
gpu::CallbackData Struct Reference

Used for on-done callback data for asynchronous operations sduch as kernel launching. More...

#include <gpu.h>

Public Attributes

WGPUBuffer buffer
 
size_t bufferSize
 
void * output
 
std::promise< void > * promise
 
std::future< void > * future
 

Detailed Description

Used for on-done callback data for asynchronous operations sduch as kernel launching.

Definition at line 357 of file gpu.h.

Member Data Documentation

◆ buffer

WGPUBuffer gpu::CallbackData::buffer

Definition at line 358 of file gpu.h.

◆ bufferSize

size_t gpu::CallbackData::bufferSize

Definition at line 359 of file gpu.h.

◆ future

std::future<void>* gpu::CallbackData::future

Definition at line 363 of file gpu.h.

◆ output

void* gpu::CallbackData::output

Definition at line 360 of file gpu.h.

◆ promise

std::promise<void>* gpu::CallbackData::promise

Definition at line 362 of file gpu.h.


The documentation for this struct was generated from the following file: