Merged in jeremy_barnes/eigen/shader-model-3.0 (pull request PR-152)

Alternative way of forcing instantiation of device kernels without causing warnings or requiring device to device kernel invocations.
This commit is contained in:
Benoit Steiner
2016-01-11 11:43:37 -08:00
3 changed files with 9 additions and 3 deletions

View File

@@ -116,7 +116,7 @@ struct FullReducer<Self, Op, GpuDevice, Vectorizable> {
template <typename OutputType>
static void run(const Self& self, Op& reducer, const GpuDevice& device, OutputType* output) {
assert(false && "Should only be called on floats");
eigen_assert(false && "Should only be called on floats");
}
static void run(const Self& self, Op& reducer, const GpuDevice& device, float* output) {