std :: ml::gpu_rocm
Function std::rocm_attention_use_mfma
int rocm_attention_use_mfma(int on)on = 0 makes both ops use the CUDA-core kernels even on matrix-core GPUs (for comparison and testing); on = 1 restores the default. Returns 1 if the matrix-core kernels are in use after the call.