Skip to main content

Platform

The Platform enum defines various platform types supported by the system, representing different graphics and compute APIs or platforms.

#include <platform/TellusimPlatform.h>
NameValueDescription
PlatformUnknown0
PlatformFusion1Aggregates multiple physical devices, enabling multi-GPU applications to operate similarly to single-GPU ones.
PlatformD3D122Direct3D12.
PlatformD3D113Direct3D11.
PlatformMTL4Metal.
PlatformVK5Vulkan.
PlatformGL6OpenGL.
PlatformGLES7OpenGLES.
PlatformWG8WebGPU.
PlatformCU9Nvidia CUDA.
PlatformHIP10AMD ROCm.
PlatformAny11The best available platform.
NumPlatforms12