Module Sarek_hip.Hip_shared

Backend-specific kargs witness for HIP.

type hip_intrinsic = {
  1. intr_name : string;
  2. intr_codegen : string;
  3. intr_convergence : Spoc_framework.Framework_sig.convergence;
}

HIP-specific intrinsic implementation. HIP C++ uses the identical device tokens as CUDA C (threadIdx.x, __syncthreads, ...), so the codegen emitted by Sarek_ir_cuda is valid verbatim.

val is_disabled : unit -> bool