https://github.com/halide/Halide
Raw File
Tip revision: 029b2c8b5cdb5d4671f9bf86a14f75ca74aa2bb8 authored by Derek Gerstmann on 22 July 2022, 18:02:03 UTC
Fix formatting to use braces around if statements
Tip revision: 029b2c8
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