diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-12-23 14:18:07 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-12-23 14:18:07 +0100 |
commit | 736399e528e9624850e383da468bb3931a5944c3 (patch) | |
tree | f506a95d0642397cdbb2939c2c4ae7802f8baf37 /src/routines/levelx | |
parent | b1f52f130c4f9e4346579003b2786aa2e082f234 (diff) |
Split the invert kernel in two parts to prevent error C1091 in MSVC 2013
Diffstat (limited to 'src/routines/levelx')
-rw-r--r-- | src/routines/levelx/xinvert.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/routines/levelx/xinvert.cpp b/src/routines/levelx/xinvert.cpp index 5fbc5fe5..a5ef9e10 100644 --- a/src/routines/levelx/xinvert.cpp +++ b/src/routines/levelx/xinvert.cpp @@ -29,7 +29,9 @@ Xinvert<T>::Xinvert(Queue &queue, EventPointer event, const std::string &name): Routine(queue, event, name, {"Invert"}, PrecisionValue<T>(), {}, { #include "../../kernels/level3/level3.opencl" , // separated in multiple parts to prevent C1091 in MSVC 2013 - #include "../../kernels/level3/invert_diagonal_blocks.opencl" + #include "../../kernels/level3/invert_diagonal_blocks_part1.opencl" + , // separated in multiple parts to prevent C1091 in MSVC 2013 + #include "../../kernels/level3/invert_diagonal_blocks_part2.opencl" }) { } |