Skip to content

Commit

Permalink
[UR][HIP] Include ROCm version header
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Sommer <lukas.sommer@codeplay.com>
  • Loading branch information
sommerlukas committed Jan 4, 2024
1 parent e8be15f commit 6847c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/adapters/hip/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#pragma once

#ifdef SYCL_ENABLE_KERNEL_FUSION
#include <rocm/rocm_version.h>
#if (ROCM_VERSION_MAJOR >= 5)
#include <amd_comgr/amd_comgr.h>
#else
Expand Down
1 change: 1 addition & 0 deletions source/adapters/hip/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "program.hpp"

#ifdef SYCL_ENABLE_KERNEL_FUSION
#include <rocm/rocm_version.h>
#if (ROCM_VERSION_MAJOR >= 5)
#include <amd_comgr/amd_comgr.h>
#else
Expand Down

0 comments on commit 6847c5d

Please sign in to comment.