GpuΒΆ

GPU Device Identifier.

PyTorch

API: β€”
Strategy: Macro 'torch.device('cuda')'

Apple MLX

API: mlx.core.gpu
Strategy: Direct Mapping