https://github.com/halide/Halide
Raw File
Tip revision: d7cf9bcb11c9b7f0c2101e57b1439491313152fa authored by Steven Johnson on 09 October 2020, 16:25:38 UTC
Merge branch 'master' into abadams/nested_vectorization_tweaks
Tip revision: d7cf9bc
windows_d3d12compute_x86.cpp
// NOTE(marcos): this file is a trivial wrapper around the "core" d3d12 back-end
// located in "d3d12compute.cpp"; this wrapper is used as a mean to "decorate" the
// module such that the proper build flags and target triple can be determined based
// on the prefix (windows_) and suffix (_x86) when building the runtime module.

#ifndef BITS_64
// Don't emit compiler messages (via #pragma message) here: some environments might
// treat compiler messages as warnings, which would then be escalated to errors since
// we generally build with warnings-as-errors enabled.
#else
#define HALIDE_D3D12_PLATFORM Windows
#include "d3d12compute.cpp"
#endif
back to top