This repository was archived by the owner on Apr 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAMDTGPUProfilerDefs.h
More file actions
53 lines (41 loc) · 1.53 KB
/
AMDTGPUProfilerDefs.h
File metadata and controls
53 lines (41 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//==============================================================================
// Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved.
/// \author AMD Developer Tools Team
/// \file
/// \brief Definitions for interaction with the GPU Profiler
//==============================================================================
#ifndef _AMDT_GPU_PROFILER_DEFS_H_
#define _AMDT_GPU_PROFILER_DEFS_H_
#include "AMDTBaseTools/Include/AMDTDefinitions.h"
#define AL_CL_AGENT L"CL_AGENT"
#define AL_HSA_TOOLS_LIB L"HSA_TOOLS_LIB"
#ifdef _WIN32
#define AL_LIB_PREFIX L""
#define AL_LIB_SUFFIX L".dll"
#else
#define AL_LIB_PREFIX L"lib"
#define AL_LIB_SUFFIX L".so"
#endif
#define AL_DEBUG_SUFFIX L"-d"
#define AL_INTERNAL_SUFFIX L"-Internal"
#ifdef AMDT_PLATFORM_SUFFIX_W
#define AL_PLATFORM_SUFFIX AMDT_PLATFORM_SUFFIX_W
#else
#if AMDT_ADDRESS_SPACE_TYPE == AMDT_32_BIT_ADDRESS_SPACE
#define AL_PLATFORM_SUFFIX L"32"
#else
#define AL_PLATFORM_SUFFIX L""
#endif
#endif
#define AL_RCP_PREFIX L"RCP"
#define AL_CXLGPUPROFILER_PREFIX L"CodeXLGpuProfiler"
// the base name for the various GPU Profiler agents
#define AL_CL_TRACE_AGENT_DLL L"CLTraceAgent"
#define AL_CL_PROFILE_AGENT_DLL L"CLProfileAgent"
#define AL_CL_OCCUPANCY_AGENT_DLL L"CLOccupancyAgent"
#define AL_HSA_TRACE_AGENT_DLL L"HSATraceAgent"
#define AL_HSA_PROFILE_AGENT_DLL L"HSAProfileAgent"
#define AL_PERFMARKER_EXT L"amdtperfmarker"
#define AL_PERFMARKER_EXT_NARROW "amdtperfmarker"
#define AL_SPACE " "
#endif // _AMDT_GPU_PROFILER_DEFS_H_