// Copyright (C) 2025 kbz_8 // This file is part of "Pulse" // For conditions of distribution and use, see copyright notice in LICENSE #include #ifdef PULSE_ENABLE_SOFTWARE_BACKEND #ifndef PULSE_SOFTWARE_DEVICE_H_ #define PULSE_SOFTWARE_DEVICE_H_ #include #include #include "Soft.h" typedef struct SoftDevice { const struct cpuinfo_processor* device; spvm_context_t spv_context; } SoftDevice; PulseDevice SoftCreateDevice(PulseBackend backend, PulseDevice* forbiden_devices, uint32_t forbiden_devices_count); void SoftDestroyDevice(PulseDevice device); #endif // PULSE_SOFTWARE_DEVICE_H_ #endif // PULSE_ENABLE_SOFTWARE_BACKEND