mod cuda_cc

module cuda_cc

Validate CUDA compute-capability requests in an easystack plan.

This check targets the failures seen in software-layer pull request 1461: CUDA-dependent recipes in a shared easystack requested compute capabilities that either the selected CUDA toolkit does not support, an easyblock cannot map, or the EESSI accelerator targets do not build for.

Variables

const BUNDLED_CUDA_CAPABILITIES: &str

Bundled CUDA capability support table.

const BUNDLED_EASYBLOCK_CC_MAP: &str

Bundled known easyblock capability-map failures.

const BUNDLED_EESSI_ACCEL_TARGETS: &str

Bundled EESSI accelerator target table.

Functions

fn run_cuda_cc_check(request: &CudaCcRequest) -> Result<CudaCcReport>

Check CUDA compute capabilities in the plan’s CUDA-dependent recipes.

Structs and Unions

struct CudaCcReport

What stack cuda-cc prints.

stdout: String

Text printed to stdout.

findings: Vec<String>

Findings that fail the command.

struct CudaCcRequest

Inputs for stack cuda-cc.

easystacks: Vec<PathBuf>

Easystacks whose entries are checked.

easyconfigs: Vec<PathBuf>

Easyconfig trees for dependency closure.

targets: Vec<String>

EESSI accelerator targets to validate against. Empty means all bundled targets.

cuda_table: Option<PathBuf>

Override bundled CUDA support table.

accelerator_targets: Option<PathBuf>

Override bundled accelerator target table.

easyblock_map: Option<PathBuf>

Override bundled easyblock map table.