This commit is contained in:
2025-03-04 17:42:10 +01:00
parent 211700b955
commit 8fd62b365b
16 changed files with 173 additions and 46 deletions

View File

@@ -10,15 +10,14 @@
#define PULSE_SOFTWARE_DEVICE_H_
#include <cpuinfo.h>
#include <spvm/context.h>
#include "Soft.h"
typedef struct SoftDevice
{
const struct cpuinfo_processor* device;
PulseCommandList* available_command_lists;
uint32_t available_command_lists_capacity;
uint32_t available_command_lists_size;
spvm_context_t spv_context;
} SoftDevice;
PulseDevice SoftCreateDevice(PulseBackend backend, PulseDevice* forbiden_devices, uint32_t forbiden_devices_count);