https://github.com/halide/Halide
Raw File
Tip revision: 5999356eea1949a521a3b44dde8fbc14d5e407f3 authored by Steven Johnson on 06 August 2021, 16:58:01 UTC
Merge branch 'master' into srj-llvm-loop-opt
Tip revision: 5999356
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);

}  // namespace Internal
}  // namespace Halide

#endif
back to top