SWDEV-495609 - Change include path for rocclr/utils
- Header files inside rocclr/utils when included from hipamd or opencl should be included as #include "rocclr/utils/xxx.h" instead of "utils/xxx.h"
Change-Id: Ic0760c33b9d091f5620dec67e5482c9698d22093
[ROCm/clr commit: 78f62d3230]
このコミットが含まれているのは:
@@ -22,8 +22,8 @@
|
|||||||
#include "hip_internal.hpp"
|
#include "hip_internal.hpp"
|
||||||
#include "hip_platform.hpp"
|
#include "hip_platform.hpp"
|
||||||
#include "platform/runtime.hpp"
|
#include "platform/runtime.hpp"
|
||||||
#include "utils/flags.hpp"
|
#include "rocclr/utils/flags.hpp"
|
||||||
#include "utils/versions.hpp"
|
#include "rocclr/utils/versions.hpp"
|
||||||
|
|
||||||
namespace hip {
|
namespace hip {
|
||||||
std::once_flag g_ihipInitialized;
|
std::once_flag g_ihipInitialized;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
// Generated from the TEXTINCLUDE 2 resource.
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
//
|
//
|
||||||
#include "winresrc.h"
|
#include "winresrc.h"
|
||||||
#include "utils/versions.hpp"
|
#include "rocclr/utils/versions.hpp"
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
#undef APSTUDIO_READONLY_SYMBOLS
|
#undef APSTUDIO_READONLY_SYMBOLS
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
// Generated from the TEXTINCLUDE 2 resource.
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
//
|
//
|
||||||
#include "winresrc.h"
|
#include "winresrc.h"
|
||||||
#include "utils/versions.hpp"
|
#include "rocclr/utils/versions.hpp"
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
#undef APSTUDIO_READONLY_SYMBOLS
|
#undef APSTUDIO_READONLY_SYMBOLS
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
#include "vdi_common.hpp"
|
#include "vdi_common.hpp"
|
||||||
#include "hip_prof_api.h"
|
#include "hip_prof_api.h"
|
||||||
#include "trace_helper.h"
|
#include "trace_helper.h"
|
||||||
#include "utils/debug.hpp"
|
#include "rocclr/utils/debug.hpp"
|
||||||
#include "hip_formatting.hpp"
|
#include "hip_formatting.hpp"
|
||||||
#include "hip_graph_capture.hpp"
|
#include "hip_graph_capture.hpp"
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ THE SOFTWARE.
|
|||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "vdi_common.hpp"
|
#include "vdi_common.hpp"
|
||||||
#include "utils/debug.hpp"
|
#include "rocclr/utils/debug.hpp"
|
||||||
#include "device/comgrctx.hpp"
|
#include "device/comgrctx.hpp"
|
||||||
|
|
||||||
namespace hiprtc {
|
namespace hiprtc {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ THE SOFTWARE.
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include "vdi_common.hpp"
|
#include "vdi_common.hpp"
|
||||||
#include "utils/flags.hpp"
|
#include "rocclr/utils/flags.hpp"
|
||||||
|
|
||||||
namespace hiprtc {
|
namespace hiprtc {
|
||||||
using namespace helpers;
|
using namespace helpers;
|
||||||
|
|||||||
@@ -33,9 +33,9 @@ THE SOFTWARE.
|
|||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "top.hpp"
|
#include "top.hpp"
|
||||||
#include "utils/debug.hpp"
|
#include "rocclr/utils/debug.hpp"
|
||||||
#include "utils/flags.hpp"
|
#include "rocclr/utils/flags.hpp"
|
||||||
#include "utils/macros.hpp"
|
#include "rocclr/utils/macros.hpp"
|
||||||
|
|
||||||
#ifdef __HIP_ENABLE_RTC
|
#ifdef __HIP_ENABLE_RTC
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
// Generated from the TEXTINCLUDE 2 resource.
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
//
|
//
|
||||||
#include "winresrc.h"
|
#include "winresrc.h"
|
||||||
#include "utils/versions.hpp"
|
#include "rocclr/utils/versions.hpp"
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
#undef APSTUDIO_READONLY_SYMBOLS
|
#undef APSTUDIO_READONLY_SYMBOLS
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
// Generated from the TEXTINCLUDE 2 resource.
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
//
|
//
|
||||||
#include "winresrc.h"
|
#include "winresrc.h"
|
||||||
#include "utils/versions.hpp"
|
#include "rocclr/utils/versions.hpp"
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
#undef APSTUDIO_READONLY_SYMBOLS
|
#undef APSTUDIO_READONLY_SYMBOLS
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#include "vdi_common.hpp"
|
#include "vdi_common.hpp"
|
||||||
#include "device/device.hpp"
|
#include "device/device.hpp"
|
||||||
#include "platform/runtime.hpp"
|
#include "platform/runtime.hpp"
|
||||||
#include "utils/versions.hpp"
|
#include "rocclr/utils/versions.hpp"
|
||||||
#include "os/os.hpp"
|
#include "os/os.hpp"
|
||||||
#include "cl_semaphore_amd.h"
|
#include "cl_semaphore_amd.h"
|
||||||
|
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ target_compile_definitions(rocclr PUBLIC
|
|||||||
${AMD_OPENCL_DEFS})
|
${AMD_OPENCL_DEFS})
|
||||||
|
|
||||||
target_include_directories(rocclr PUBLIC
|
target_include_directories(rocclr PUBLIC
|
||||||
|
${ROCCLR_SRC_DIR}/../
|
||||||
${ROCCLR_SRC_DIR}
|
${ROCCLR_SRC_DIR}
|
||||||
${ROCCLR_SRC_DIR}/compiler/lib
|
${ROCCLR_SRC_DIR}/compiler/lib
|
||||||
${ROCCLR_SRC_DIR}/compiler/lib/include
|
${ROCCLR_SRC_DIR}/compiler/lib/include
|
||||||
|
|||||||
新しいイシューから参照
ユーザーをブロックする