Explicit Conversions - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English

For explicit type conversions, use appropriate utility functions or element-wise operations:

// Convert float32 array to bfloat16
aocl_gemm_eltwise_ops_f32obf16(
    'R', 'N', 'N', m, n,
    f32_array, lda,
    bf16_array, ldb,
    NULL  // No additional operations
);