Skip to main content

transpile_reduction_call

Function transpile_reduction_call 

Source
pub fn transpile_reduction_call(
    intrinsic: ReductionIntrinsic,
    args: &[String],
    config: &ReductionCodegenConfig,
) -> Result<String, String>
Expand description

Transpile a reduction intrinsic call to CUDA code.

§Arguments

  • intrinsic - The reduction intrinsic being called
  • args - The transpiled argument expressions
  • config - Reduction configuration

§Returns

The CUDA expression or statement for this intrinsic.