std1.0.0-beta-7 SafeC docs

std :: ml::gpu_cuda_attention

Function std::cuda_linear_attention_f32

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

int cuda_linear_attention_f32(
    const &float q,
    const &float k,
    const &float v,
    &float out,
    unsigned long heads,
    unsigned long seqLen,
    unsigned long kvLen,
    unsigned long headDim,
    int causal,
)