https://github.com/halide/Halide
Raw File
Tip revision: 96a2e1fb519cbc910038f6a64bc760b4a4853ff0 authored by Steven Johnson on 22 August 2022, 18:39:03 UTC
Revert "Handle saturating_cast in compute_expr_cost() (#6947)"
Tip revision: 96a2e1f
LowerWarpShuffles.h
#ifndef HALIDE_LOWER_WARP_SHUFFLES_H
#define HALIDE_LOWER_WARP_SHUFFLES_H

/** \file
 * Defines the lowering pass that injects CUDA warp shuffle
 * instructions to access storage outside of a GPULane loop.
 */

#include "Expr.h"

namespace Halide {
namespace Internal {

/** Rewrite access to things stored outside the loop over GPU lanes to
 * use nvidia's warp shuffle instructions. */
Stmt lower_warp_shuffles(Stmt s, const Target &t);

}  // namespace Internal
}  // namespace Halide

#endif
back to top