![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
#include <GpuPluginAbi.h>
Public Attributes | |
| int | abi_version |
| int | device_count |
| int | vendor |
| char | device_name [128] |
| unsigned long long | device_mem_bytes |
| int | requested_threads |
Result of a capability probe. Filled by openswmm_gpu_probe().
| int OpenSwmmGpuProbe::abi_version |
must equal OPENSWMM_GPU_ABI_VERSION
| int OpenSwmmGpuProbe::device_count |
number of usable devices (0 = none)
| unsigned long long OpenSwmmGpuProbe::device_mem_bytes |
global memory of selected device
| char OpenSwmmGpuProbe::device_name[128] |
human-readable device name
| int OpenSwmmGpuProbe::requested_threads |
v4, core → plugin: [OPTIONS] THREADS for the host (OpenMP) backend. 0 = plugin default. Written by the core AFTER openswmm_gpu_probe() returns and BEFORE openswmm_make_gpu_explicit_solver() is called; the plugin zero-fills it in the probe. Device backends ignore it. The OPENSWMM_2D_THREADS environment variable still overrides it.
| int OpenSwmmGpuProbe::vendor |
an OpenSwmmGpuVendor value