std1.0.0-beta-7 SafeC docs

std :: ml::gpu_cuda

Function std::cuda_compute_capability

#include <std/ml/gpu_cuda.h> source ยท definition

int cuda_compute_capability()

Compute capability of the selected GPU as major * 10 + minor (80 on an A100, 90 on an H100/H200); 0 if there is no GPU.