src/Func.cpp
// Set this as an accelerator input, create a copy stage, and properly
// schedule each func. The accelerator input is computed at the root level.
// The copy stage is computed at the accelerator storage level.
Set this as an accelerator input, create a copy stage, and properly
schedule each func. The accelerator input is computed at the root level.
The copy stage is computed at the accelerator storage level.
Set this as an accelerator input create a copy stage and properly schedule each func . The accelerator input is computed at the root level . The copy stage is computed at the accelerator storage level .
Func Func::stream_to_accelerator() {
  func.schedule().is_accelerator_input() = true;
  func.schedule().compute_level() = LoopLevel::root();
  auto new_func = get_wrapper(func, name() + "_global_wrapper", {}, false);
  return new_func;
}
Func Func :: stream_to_accelerator ( ) { func . schedule ( ) . is_accelerator_input ( ) = true ; func . schedule ( ) . compute_level ( ) = LoopLevel :: root ( ) ; auto new_func = get_wrapper ( func , name ( ) + " " , { } , false ) ; return new_func ; }
Set this as an accelerator input, create a copy stage, and properly
schedule each func.
Set this as an accelerator input create a copy stage and properly schedule each func .
//invalidate_cache(); //func.schedule().accelerate_inputs().insert(hw_in.name());