Skip to content

Commit

Permalink
Fix compiler version check.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVlx committed Nov 29, 2017
1 parent 3ed8897 commit b881cf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/hip/hcc_detail/grid_launch_GGL.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#pragma once

#if GENERIC_GRID_LAUNCH == 1
#if __hcc_workweek__ >= 17481
#define FUNCTIONAL_GRID_LAUNCH 1
#include "functional_grid_launch.hpp"
#else
#include "macro_based_grid_launch.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/grid_launch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ THE SOFTWARE.

#include "hip/hcc_detail/grid_launch_GGL.hpp"

#if defined(FUNCTIONAL_GRID_LAUNCH)
#if __hcc_workweek__ >= 17481
#include "functional_grid_launch.inl"
#else
#include "macro_based_grid_launch.inl"
Expand Down

0 comments on commit b881cf7

Please sign in to comment.