Skip to content

Commit 6847c5d

Browse files
committed
[UR][HIP] Include ROCm version header
Signed-off-by: Lukas Sommer <lukas.sommer@codeplay.com>
1 parent e8be15f commit 6847c5d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

source/adapters/hip/common.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#pragma once
1111

1212
#ifdef SYCL_ENABLE_KERNEL_FUSION
13+
#include <rocm/rocm_version.h>
1314
#if (ROCM_VERSION_MAJOR >= 5)
1415
#include <amd_comgr/amd_comgr.h>
1516
#else

source/adapters/hip/program.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "program.hpp"
1212

1313
#ifdef SYCL_ENABLE_KERNEL_FUSION
14+
#include <rocm/rocm_version.h>
1415
#if (ROCM_VERSION_MAJOR >= 5)
1516
#include <amd_comgr/amd_comgr.h>
1617
#else

0 commit comments

Comments
 (0)