https://github.com/halide/Halide
Raw File
Tip revision: f8c10947cb1159162d92c632697271d6450d79d5 authored by Steven Johnson on 12 May 2018, 01:49:24 UTC
Also restructure predicate-store as an if-statement
Tip revision: f8c1094
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 "IR.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