Skip to content

Commit adae6c6

Browse files
committed
ROCm 5.3.0 updates
1 parent fdd643a commit adae6c6

File tree

99 files changed

+16321
-2519
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+16321
-2519
lines changed

src/CMakeLists.txt

Lines changed: 43 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,18 @@ if (ROCM_CCACHE_BUILD)
8787
endif() # if (ROCM_CCACHE_BUILD)
8888

8989
## Get version strings
90-
get_version ( "1.5.0" )
90+
get_version ( "1.7.0" )
9191
if ( ${ROCM_PATCH_VERSION} )
9292
set ( VERSION_PATCH ${ROCM_PATCH_VERSION})
9393
endif()
9494
set ( SO_VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )
9595
set ( PACKAGE_VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_COMMIT_COUNT}" )
9696

9797
## Find external dependencies.
98+
find_package(PkgConfig)
9899
find_package(LibElf REQUIRED)
99100
find_package(hsakmt 1.0 REQUIRED HINTS ${CMAKE_INSTALL_PREFIX} PATHS /opt/rocm)
101+
pkg_check_modules(drm REQUIRED IMPORTED_TARGET libdrm)
100102

101103
## Create the rocr target.
102104
add_library( ${CORE_RUNTIME_TARGET} "" )
@@ -119,10 +121,11 @@ endif()
119121
target_include_directories( ${CORE_RUNTIME_TARGET}
120122
PUBLIC
121123
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>
122-
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/hsa>
124+
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
123125
PRIVATE
124126
${CMAKE_CURRENT_SOURCE_DIR}
125-
${CMAKE_CURRENT_SOURCE_DIR}/libamdhsacode )
127+
${CMAKE_CURRENT_SOURCE_DIR}/libamdhsacode
128+
${CMAKE_CURRENT_BINARY_DIR}/core/runtime/trap_handler)
126129

127130
## Set RUNPATH - ../../lib covers use of the legacy symlink in /hsa/lib/
128131
set_property(TARGET ${CORE_RUNTIME_TARGET} PROPERTY INSTALL_RPATH "$ORIGIN;$ORIGIN/../../lib;$ORIGIN/../../lib64;$ORIGIN/../lib64" )
@@ -182,6 +185,7 @@ set ( SRCS core/util/lnx/os_linux.cpp
182185
core/runtime/signal.cpp
183186
core/runtime/queue.cpp
184187
core/runtime/cache.cpp
188+
core/runtime/svm_profiler.cpp
185189
core/common/shared.cpp
186190
core/common/hsa_table_interface.cpp
187191
loader/executable.cpp
@@ -193,6 +197,10 @@ set ( SRCS core/util/lnx/os_linux.cpp
193197

194198
target_sources( ${CORE_RUNTIME_TARGET} PRIVATE ${SRCS} )
195199

200+
## Depend on trap handler target.
201+
add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/core/runtime/trap_handler )
202+
add_dependencies( ${CORE_RUNTIME_TARGET} amd_trap_handler_v2 )
203+
196204
if ( NOT DEFINED IMAGE_SUPPORT AND CMAKE_SYSTEM_PROCESSOR MATCHES "i?86|x86_64|amd64|AMD64" )
197205
set ( IMAGE_SUPPORT ON )
198206
endif()
@@ -220,14 +228,17 @@ if(${IMAGE_SUPPORT})
220228
image/addrlib/src/r800/siaddrlib.cpp
221229
image/addrlib/src/gfx9/gfx9addrlib.cpp
222230
image/addrlib/src/gfx10/gfx10addrlib.cpp
231+
image/addrlib/src/gfx11/gfx11addrlib.cpp
223232
image/device_info.cpp
224233
image/hsa_ext_image.cpp
225234
image/image_runtime.cpp
226235
image/image_manager.cpp
227236
image/image_manager_kv.cpp
228237
image/image_manager_ai.cpp
229238
image/image_manager_nv.cpp
239+
image/image_manager_gfx11.cpp
230240
image/image_lut_kv.cpp
241+
image/image_lut_gfx11.cpp
231242
image/blit_object_gfx7xx.cpp
232243
image/blit_object_gfx8xx.cpp
233244
image/blit_object_gfx9xx.cpp
@@ -246,9 +257,11 @@ if(${IMAGE_SUPPORT})
246257
${CMAKE_CURRENT_SOURCE_DIR}/image/addrlib/src/r800
247258
${CMAKE_CURRENT_SOURCE_DIR}/image/addrlib/src/gfx9
248259
${CMAKE_CURRENT_SOURCE_DIR}/image/addrlib/src/gfx10
260+
${CMAKE_CURRENT_SOURCE_DIR}/image/addrlib/src/gfx11
249261
${CMAKE_CURRENT_SOURCE_DIR}/image/addrlib/src/chip/r800
250262
${CMAKE_CURRENT_SOURCE_DIR}/image/addrlib/src/chip/gfx9
251-
${CMAKE_CURRENT_SOURCE_DIR}/image/addrlib/src/chip/gfx10 )
263+
${CMAKE_CURRENT_SOURCE_DIR}/image/addrlib/src/chip/gfx10
264+
${CMAKE_CURRENT_SOURCE_DIR}/image/addrlib/src/chip/gfx11 )
252265

253266
target_sources( ${CORE_RUNTIME_TARGET} PRIVATE ${IMAGE_SRCS} )
254267

@@ -259,7 +272,7 @@ if(${IMAGE_SUPPORT})
259272
endif()
260273

261274
## Link dependencies.
262-
target_link_libraries ( ${CORE_RUNTIME_TARGET} PRIVATE hsakmt::hsakmt )
275+
target_link_libraries ( ${CORE_RUNTIME_TARGET} PRIVATE hsakmt::hsakmt PkgConfig::drm)
263276
target_link_libraries ( ${CORE_RUNTIME_TARGET} PRIVATE elf::elf dl pthread rt )
264277

265278
## Set the VERSION and SOVERSION values
@@ -286,13 +299,6 @@ if( NOT ${BUILD_SHARED_LIBS} )
286299
install ( TARGETS ${CORE_RUNTIME_NAME} EXPORT ${CORE_RUNTIME_NAME}Targets )
287300
endif()
288301

289-
## Create symlinks for legacy packaging and install
290-
add_custom_target ( hsa_include_link ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../${CMAKE_INSTALL_INCLUDEDIR}/hsa hsa_include_link )
291-
if ( ${BUILD_SHARED_LIBS} )
292-
add_custom_target ( hsa_lib_link ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../${CMAKE_INSTALL_LIBDIR}/${CORE_RUNTIME_LIBRARY}.so ${CORE_RUNTIME_LIBRARY}-link.so )
293-
add_custom_target ( hsa_lib_link2 ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../${CMAKE_INSTALL_LIBDIR}/${CORE_RUNTIME_LIBRARY}.so.${VERSION_MAJOR} ${CORE_RUNTIME_LIBRARY}-link.so.${VERSION_MAJOR} )
294-
endif()
295-
296302
## Set install information
297303
# Installs binaries and exports the library usage data to ${HSAKMT_TARGET}Targets
298304
install ( TARGETS ${CORE_RUNTIME_TARGET} EXPORT ${CORE_RUNTIME_NAME}Targets
@@ -305,14 +311,14 @@ install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md DESTINATION ${CMAKE_INSTA
305311
# Install public headers
306312
install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/inc/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hsa COMPONENT dev )
307313

308-
# Legacy symlink - not packaged (CPack is bugged until ~3.18, see https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4637)
309-
install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/hsa_include_link DESTINATION hsa/include PERMISSIONS OWNER_WRITE OWNER_READ RENAME hsa )
310-
311-
# Legacy symlinks.
312-
if ( ${BUILD_SHARED_LIBS} )
313-
install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/${CORE_RUNTIME_LIBRARY}-link.so DESTINATION hsa/lib PERMISSIONS OWNER_WRITE OWNER_READ RENAME ${CORE_RUNTIME_LIBRARY}.so COMPONENT binary)
314-
install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/${CORE_RUNTIME_LIBRARY}-link.so.${VERSION_MAJOR} DESTINATION hsa/lib PERMISSIONS OWNER_WRITE OWNER_READ RENAME ${CORE_RUNTIME_LIBRARY}.so.${VERSION_MAJOR} COMPONENT binary)
315-
endif ()
314+
# Option to build header path migration helpers.
315+
option(INCLUDE_PATH_COMPATIBILITY "Generate backward compatible headers and include paths. Use of these headers will warn when included." ON)
316+
if(INCLUDE_PATH_COMPATIBILITY)
317+
include(hsa-backward-compat.cmake)
318+
target_include_directories( ${CORE_RUNTIME_TARGET}
319+
PUBLIC
320+
$<INSTALL_INTERFACE:hsa/include/hsa> )
321+
endif()
316322

317323
## Configure and install package config file
318324
# Record our usage data for clients find_package calls.
@@ -380,7 +386,7 @@ set ( CPACK_DEB_COMPONENT_INSTALL ON)
380386
set ( CPACK_RPM_COMPONENT_INSTALL ON)
381387
set ( CPACK_PACKAGE_VENDOR "Advanced Micro Devices, Inc." )
382388
set ( CPACK_PACKAGE_VERSION ${PACKAGE_VERSION_STRING} )
383-
set ( CPACK_PACKAGE_CONTACT "TODO Advanced Micro Devices, Inc." )
389+
set ( CPACK_PACKAGE_CONTACT "AMD HSA Support <[email protected]>")
384390
set ( CPACK_COMPONENT_BINARY_DESCRIPTION "AMD Heterogeneous System Architecture HSA - Linux HSA Runtime for Boltzmann (ROCm) platforms" )
385391
set ( CPACK_COMPONENT_DEV_DESCRIPTION "AMD Heterogeneous System Architecture HSA development package.\n This package contains the headers and cmake files for the hsa-rocr package." )
386392
set ( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md" )
@@ -405,23 +411,22 @@ set ( CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://github.com/RadeonOpenCompute/ROCR-R
405411
## Process the Debian install/remove scripts to update the CPACK variables
406412
configure_file ( ${CMAKE_CURRENT_SOURCE_DIR}/DEBIAN/Binary/postinst.in DEBIAN/Binary/postinst @ONLY )
407413
configure_file ( ${CMAKE_CURRENT_SOURCE_DIR}/DEBIAN/Binary/prerm.in DEBIAN/Binary/prerm @ONLY )
408-
configure_file ( ${CMAKE_CURRENT_SOURCE_DIR}/DEBIAN/Dev/postinst.in DEBIAN/Dev/postinst @ONLY )
409-
configure_file ( ${CMAKE_CURRENT_SOURCE_DIR}/DEBIAN/Dev/prerm.in DEBIAN/Dev/prerm @ONLY )
410-
411414
set ( CPACK_DEBIAN_BINARY_PACKAGE_CONTROL_EXTRA "DEBIAN/Binary/postinst;DEBIAN/Binary/prerm" )
412-
set ( CPACK_DEBIAN_DEV_PACKAGE_CONTROL_EXTRA "DEBIAN/Dev/postinst;DEBIAN/Dev/prerm" )
413415

414-
# Declare package relationships (hsa-ext-rocr-dev is a legacy package that we subsume)
415-
set ( CPACK_DEBIAN_BINARY_PACKAGE_DEPENDS "hsakmt-roct" )
416-
set ( CPACK_DEBIAN_DEV_PACKAGE_DEPENDS "hsa-rocr" )
416+
# package dependencies
417+
set( CPACK_DEBIAN_BINARY_PACKAGE_DEPENDS "libdrm-amdgpu-amdgpu1 | libdrm-amdgpu1, libnuma1")
418+
set( CPACK_DEBIAN_BINARY_PACKAGE_RECOMMENDS "libdrm-amdgpu-amdgpu1")
419+
set ( CPACK_DEBIAN_DEV_PACKAGE_DEPENDS "hsa-rocr, hsakmt-roct-dev" )
417420
if ( ROCM_DEP_ROCMCORE )
418421
string ( APPEND CPACK_DEBIAN_BINARY_PACKAGE_DEPENDS ", rocm-core" )
419-
string ( APPEND CPACK_DEBIAN_DEV_PACKAGE_DEPENDS ", rocm-core" )
420422
endif()
423+
# Declare package relationships (hsa-ext-rocr-dev is a legacy package that we subsume)
421424
set ( CPACK_DEBIAN_PACKAGE_BREAKS "hsa-ext-rocr-dev" )
422425
set ( CPACK_DEBIAN_PACKAGE_REPLACES "hsa-ext-rocr-dev" )
423426

424427
# RPM package specific variables
428+
set ( EL7_DISTRO "FALSE" )
429+
checksetel7(EL7_DISTRO)
425430
set ( CPACK_RPM_BINARY_PACKAGE_NAME "hsa-rocr" )
426431
set ( CPACK_RPM_DEV_PACKAGE_NAME "hsa-rocr-devel" )
427432
if ( DEFINED ENV{CPACK_RPM_PACKAGE_RELEASE} )
@@ -438,21 +443,21 @@ set( CPACK_RPM_PACKAGE_LICENSE "NCSA" )
438443
## Process the Rpm install/remove scripts to update the CPACK variables
439444
configure_file ( "${CMAKE_CURRENT_SOURCE_DIR}/RPM/Binary/post.in" RPM/Binary/post @ONLY )
440445
configure_file ( "${CMAKE_CURRENT_SOURCE_DIR}/RPM/Binary/postun.in" RPM/Binary/postun @ONLY )
441-
configure_file ( "${CMAKE_CURRENT_SOURCE_DIR}/RPM/Dev/post.in" RPM/Dev/post @ONLY )
442-
configure_file ( "${CMAKE_CURRENT_SOURCE_DIR}/RPM/Dev/postun.in" RPM/Dev/postun @ONLY )
443-
444446
set ( CPACK_RPM_BINARY_POST_INSTALL_SCRIPT_FILE "${CMAKE_CURRENT_BINARY_DIR}/RPM/Binary/post" )
445447
set ( CPACK_RPM_BINARY_POST_UNINSTALL_SCRIPT_FILE "${CMAKE_CURRENT_BINARY_DIR}/RPM/Binary/postun" )
446-
set ( CPACK_RPM_DEV_POST_INSTALL_SCRIPT_FILE "${CMAKE_CURRENT_BINARY_DIR}/RPM/Dev/post" )
447-
set ( CPACK_RPM_DEV_POST_UNINSTALL_SCRIPT_FILE "${CMAKE_CURRENT_BINARY_DIR}/RPM/Dev/postun" )
448448

449-
# Declare package relationships (hsa-ext-rocr-dev is a legacy package that we subsume)
450-
set ( CPACK_RPM_BINARY_PACKAGE_REQUIRES "hsakmt-roct" )
451-
set ( CPACK_RPM_DEV_PACKAGE_REQUIRES "hsa-rocr" )
449+
# package dependencies
450+
if (${EL7_DISTRO} STREQUAL "TRUE")
451+
set ( CPACK_RPM_BINARY_PACKAGE_REQUIRES "libdrm-amdgpu, numactl-libs" )
452+
else()
453+
set ( CPACK_RPM_BINARY_PACKAGE_REQUIRES "(libdrm-amdgpu or libdrm or libdrm_amdgpu1), (libnuma1 or numactl-libs)" )
454+
set ( CPACK_RPM_BINARY_PACKAGE_SUGGESTS "libdrm-amdgpu" )
455+
endif()
456+
set ( CPACK_RPM_DEV_PACKAGE_REQUIRES "hsa-rocr , hsakmt-roct-devel" )
452457
if ( ROCM_DEP_ROCMCORE )
453458
string ( APPEND CPACK_RPM_BINARY_PACKAGE_REQUIRES " rocm-core" )
454-
string ( APPEND CPACK_RPM_DEV_PACKAGE_REQUIRES " rocm-core" )
455459
endif()
460+
# Declare package relationships (hsa-ext-rocr-dev is a legacy package that we subsume)
456461
set ( CPACK_RPM_PACKAGE_PROVIDES "hsa-ext-rocr-dev hsa-rocr-dev" )
457462
set ( CPACK_RPM_PACKAGE_OBSOLETES "hsa-ext-rocr-dev" )
458463

src/DEBIAN/Binary/postinst.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ set -e
4747
# left-hand term originates from @ENABLE_LDCONFIG@ = ON/OFF at package build
4848
do_ldconfig() {
4949
if [ "@ENABLE_LDCONFIG@" == "ON" ]; then
50-
echo @CPACK_PACKAGING_INSTALL_PREFIX@/lib > /etc/ld.so.conf.d/hsa-rocr.conf
50+
echo @CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ > /etc/ld.so.conf.d/hsa-rocr.conf
5151
ldconfig
5252
fi
5353
}

src/DEBIAN/Dev/postinst.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ case "$1" in
4848
( configure )
4949
# Workaround for CPACK directory symlink handling error.
5050
mkdir -p @CPACK_PACKAGING_INSTALL_PREFIX@/hsa/include
51-
ln -sf ../../include/hsa @CPACK_PACKAGING_INSTALL_PREFIX@/hsa/include/hsa
51+
ln -sf ../../@CMAKE_INSTALL_INCLUDEDIR@/hsa @CPACK_PACKAGING_INSTALL_PREFIX@/hsa/include/hsa
5252
;;
5353
( * )
5454
exit 0

src/RPM/Binary/post.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@
4242

4343
# left-hand term originates from @ENABLE_LDCONFIG@ = ON/OFF at package build
4444
if [ "@ENABLE_LDCONFIG@" == "ON" ]; then
45-
echo @CPACK_PACKAGING_INSTALL_PREFIX@/hsa/lib > /etc/ld.so.conf.d/hsa-rocr.conf
45+
echo @CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ > /etc/ld.so.conf.d/hsa-rocr.conf
4646
ldconfig
4747
fi

src/RPM/Dev/post.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@
4242

4343
# Workaround for CPACK directory symlink handling error.
4444
mkdir -p @CPACK_PACKAGING_INSTALL_PREFIX@/hsa/include
45-
ln -sf ../../include/hsa @CPACK_PACKAGING_INSTALL_PREFIX@/hsa/include/hsa
45+
ln -sf ../../@CMAKE_INSTALL_INCLUDEDIR@/hsa @CPACK_PACKAGING_INSTALL_PREFIX@/hsa/include/hsa

src/cmake_modules/utils.cmake

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,17 @@ function ( listsubdirs DIRPATH SUBDIRECTORIES )
217217
endforeach()
218218
set (${SUBDIRECTORIES} ${FOLDERS} PARENT_SCOPE)
219219
endfunction()
220+
221+
## Sets el7 flag to be true
222+
function ( Checksetel7 EL7_DISTRO )
223+
execute_process(COMMAND rpm --eval %{?dist}
224+
RESULT_VARIABLE PROC_RESULT
225+
OUTPUT_VARIABLE EVAL_RESULT
226+
OUTPUT_STRIP_TRAILING_WHITESPACE)
227+
message("RESULT_VARIABLE ${PROC_RESULT} OUTPUT_VARIABLE: ${EVAL_RESULT}")
228+
if(PROC_RESULT EQUAL "0" AND NOT EVAL_RESULT STREQUAL "")
229+
if( "${EVAL_RESULT}" STREQUAL ".el7")
230+
set (${EL7_DISTRO} TRUE PARENT_SCOPE)
231+
endif()
232+
endif()
233+
endfunction()

src/core/common/shared.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ class Shared final : private BaseShared {
141141

142142
template <typename T> class Shared<T, PageAllocator<T>> final : private BaseShared {
143143
public:
144-
Shared() {
144+
Shared(int flags = 0) {
145145
assert(allocate_ != nullptr && free_ != nullptr && "Shared object allocator is not set");
146146

147-
shared_object_ = PageAllocator<T>::alloc();
147+
shared_object_ = PageAllocator<T>::alloc(flags);
148148
}
149149

150150
~Shared() {

src/core/inc/agent.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ class Agent : public Checked<0xF6BC25EB17E6F917> {
115115
explicit Agent(uint32_t node_id, DeviceType type)
116116
: node_id_(node_id),
117117
device_type_(uint32_t(type)),
118-
profiling_enabled_(false) {
118+
profiling_enabled_(false),
119+
enabled_(false) {
119120
public_handle_ = Convert(this);
120121
}
121122

@@ -267,6 +268,10 @@ class Agent : public Checked<0xF6BC25EB17E6F917> {
267268
return stat;
268269
}
269270

271+
__forceinline bool Enabled() const { return enabled_; }
272+
273+
__forceinline void Enable() { enabled_ = true; }
274+
270275
virtual void Trim() {
271276
for (auto region : regions()) region->Trim();
272277
}
@@ -306,6 +311,8 @@ class Agent : public Checked<0xF6BC25EB17E6F917> {
306311

307312
bool profiling_enabled_;
308313

314+
bool enabled_;
315+
309316
// Used by an Agent's MemoryRegions to ensure serial memory operation on the device.
310317
// Serial memory operations are needed to ensure, among other things, that allocation failures are
311318
// due to true OOM conditions and per region caching (Trim and Allocate must be serial and

src/core/inc/amd_aql_queue.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,15 @@ class AqlQueue : public core::Queue, private core::LocalSignal, public core::Doo
226226
/// @brief Define the Scratch Buffer Descriptor and related parameters
227227
/// that enable kernel access scratch memory
228228
void InitScratchSRD();
229+
void FillBufRsrcWord0();
230+
void FillBufRsrcWord1();
231+
void FillBufRsrcWord1_Gfx11();
232+
void FillBufRsrcWord2();
233+
void FillBufRsrcWord3();
234+
void FillBufRsrcWord3_Gfx10();
235+
void FillBufRsrcWord3_Gfx11();
236+
void FillComputeTmpRingSize();
237+
void FillComputeTmpRingSize_Gfx11();
229238

230239
/// @brief Halt the queue without destroying it or fencing memory.
231240
void Suspend();

src/core/inc/amd_blit_sdma.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#include <stdint.h>
4848
#include <vector>
4949

50-
#include "hsakmt.h"
50+
#include "hsakmt/hsakmt.h"
5151

5252
#include "core/inc/amd_gpu_agent.h"
5353
#include "core/inc/blit.h"

0 commit comments

Comments
 (0)