File tree Expand file tree Collapse file tree 12 files changed +31
-23
lines changed
GPUPerfAPICounterGenerator Expand file tree Collapse file tree 12 files changed +31
-23
lines changed Original file line number Diff line number Diff line change 25
25
[Oo ]bj /
26
26
[Ll ]og /
27
27
Doc /public
28
+ * .so
29
+ * .a
30
+ * .pyc
28
31
29
32
# Visual Studo 2015 cache/options directory
30
33
.vs /
@@ -240,4 +243,4 @@ FakesAssemblies/
240
243
** /* .DesktopClient /ModelManifest.xml
241
244
** /* .Server /GeneratedArtifacts
242
245
** /* .Server /ModelManifest.xml
243
- _Pvt_Extensions
246
+ _Pvt_Extensions
Original file line number Diff line number Diff line change @@ -30,16 +30,18 @@ PLATFORM_DEFINES = -DGDT_PLATFORM_SUFFIX=\"\"
30
30
DEBUG_DEFINES = -DGDT_DEBUG_SUFFIX=\"\"
31
31
DEFINES = $(BASE_DEFINES ) $(BUILD_DEFINES ) $(PLATFORM_DEFINES ) $(DEBUG_DEFINES ) $(ADDL_DEFINES )
32
32
33
- GPACG_DIR = $(DEPTH ) /GPUPerfAPICounterGenerator
34
- GPACOMMON_DIR = $(DEPTH ) /GPUPerfAPI-Common
35
- GPADEVICEINFO_DIR = $(DEPTH ) /DeviceInfo
33
+ GPASRC_DIR =$(DEPTH ) /Src
34
+ GPACG_DIR = $(GPASRC_DIR ) /GPUPerfAPICounterGenerator
35
+ GPACOMMON_DIR = $(GPASRC_DIR ) /GPUPerfAPI-Common
36
+ GPADEVICEINFO_DIR = $(GPASRC_DIR ) /DeviceInfo
36
37
37
38
COMMON_DIR = $(DEPTH ) /../Common
38
39
COMMON_SRC = $(COMMON_DIR ) /Src
39
40
ATI_STREAM_SDK_DIR = $(COMMON_DIR ) /Lib/AMD/APPSDK/3-0
40
41
HSA_DIR = /opt/rocm/hsa
41
42
HSA_LIB_DIR = $(HSA_DIR ) /lib/$(HSA_PLATFORM_DIR )
42
43
DEVICEINFO_DIR = $(COMMON_SRC ) /DeviceInfo
44
+ DEVICEINFOINTERNAL_DIR = $(COMMON_SRC ) /DeviceInfo-Internal
43
45
GPUPERFAPIUTILS_DIR = $(COMMON_SRC ) /GPUPerfAPIUtils
44
46
ADL_DIR = $(COMMON_DIR ) /Lib/AMD/ADL
45
47
ADLUTIL_DIR = $(COMMON_DIR ) /Src/ADLUtil
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ all: default x86 Internal Internalx86 Dbg Dbgx86 DbgInternal DbgInternalx86
40
40
41
41
BUILD_SRC =$(CC ) $(CFLAGS ) $(INCLUDES ) $(DEFINES ) -c $< -o $@
42
42
43
- $(OBJ_DIR ) /% .o : ../Non-OpenSource /GPUPerfAPICounterGenerator/% .cpp
43
+ $(OBJ_DIR ) /% .o : ../../../GPA-Internal/Src /GPUPerfAPICounterGenerator/% .cpp
44
44
$(BUILD_SRC )
45
45
46
46
$(OBJ_DIR ) /% .o : % .cpp
@@ -64,6 +64,9 @@ $(OBJ_DIR)/%.o: $(AMDTMUTEX_DIR)/%.cpp
64
64
$(OBJ_DIR ) /% .o : $(DEVICEINFO_DIR ) /% .cpp
65
65
$(BUILD_SRC )
66
66
67
+ $(OBJ_DIR ) /% .o : $(DEVICEINFOINTERNAL_DIR ) /% .cpp
68
+ $(BUILD_SRC )
69
+
67
70
$(OBJ_DIR ) /% .o : $(GPUPERFAPIUTILS_DIR ) /% .cpp
68
71
$(BUILD_SRC )
69
72
Original file line number Diff line number Diff line change 73
73
done
74
74
75
75
LOGFILE=$GPAROOT /Build/Linux/GPUPerfAPI_Build.log
76
-
77
- CL=$GPAROOT /GPUPerfAPICL
78
- HSA=$GPAROOT /GPUPerfAPIHSA
79
- GL=$GPAROOT /GPUPerfAPIGL
80
- GLES=$GPAROOT /GPUPerfAPIGLES
81
- COUNTERS=$GPAROOT /GPUPerfAPICounters
82
- COUNTERGENERATOR=$GPAROOT /GPUPerfAPICounterGenerator
83
- GPA_COMMON=$GPAROOT /GPUPerfAPI-Common
84
- GPA_DEVICEINFO=$GPAROOT /DeviceInfo
76
+ GPASRC= $GPAROOT /Src
77
+ CL=$GPASRC /GPUPerfAPICL
78
+ HSA=$GPASRC /GPUPerfAPIHSA
79
+ GL=$GPASRC /GPUPerfAPIGL
80
+ GLES=$GPASRC /GPUPerfAPIGLES
81
+ COUNTERS=$GPASRC /GPUPerfAPICounters
82
+ COUNTERGENERATOR=$GPASRC /GPUPerfAPICounterGenerator
83
+ GPA_COMMON=$GPASRC /GPUPerfAPI-Common
84
+ GPA_DEVICEINFO=$GPASRC /DeviceInfo
85
85
86
86
GLLIB=libGPUPerfAPIGL$DEBUG_SUFFIX .so
87
87
GLESLIB=libGPUPerfAPIGLES$DEBUG_SUFFIX .so
Original file line number Diff line number Diff line change 1
1
# MAKE FILE FOR DeviceInfo
2
2
3
- DEPTH = ..
3
+ DEPTH = ../..
4
4
include $(DEPTH ) /Build/Linux/Common.mk
5
5
6
6
TARGETLIB = libDeviceInfo$(TARGET_SUFFIX ) .a
@@ -14,7 +14,7 @@ INCLUDES = -I. \
14
14
-I$(DYNAMICLIBRARYMODULE_DIR )
15
15
16
16
# for AMD-internal builds
17
- ifneq ("$(wildcard $(DEVICEINFO_DIR ) /DeviceInfoInternal.cpp) ","")
17
+ ifneq ("$(wildcard $(DEVICEINFOINTERNAL_DIR ) /DeviceInfoInternal.cpp) ","")
18
18
INTERNAL_OBJ := ./$(OBJ_DIR ) /DeviceInfoInternal.o
19
19
endif
20
20
Original file line number Diff line number Diff line change 1
1
# Makefile for GPUPerfAPI-Common
2
2
3
- DEPTH = ..
3
+ DEPTH = ../..
4
4
include $(DEPTH ) /Build/Linux/Common.mk
5
5
6
6
TARGETLIB = libGPUPerfAPI-Common$(TARGET_SUFFIX ) .a
Original file line number Diff line number Diff line change 1
1
# Makefile for GPUPerfAPICL
2
2
3
- DEPTH = ..
3
+ DEPTH = ../..
4
4
include $(DEPTH ) /Build/Linux/Common.mk
5
5
6
6
TARGETSO = libGPUPerfAPICL$(TARGET_SUFFIX ) .so
Original file line number Diff line number Diff line change 1
1
# Makefile for GPUPerfAPICounterGenerator
2
2
3
- DEPTH = ..
3
+ DEPTH = ../..
4
4
include $(DEPTH ) /Build/Linux/Common.mk
5
5
6
6
TARGETLIB = libGPUPerfAPICounterGenerator$(TARGET_SUFFIX ) .a
Original file line number Diff line number Diff line change 1
1
# Makefile for GPUPerfAPICounters
2
2
3
- DEPTH = ..
3
+ DEPTH = ../..
4
4
include $(DEPTH ) /Build/Linux/Common.mk
5
5
6
6
TARGETSO = libGPUPerfAPICounters$(TARGET_SUFFIX ) .so
Original file line number Diff line number Diff line change 1
1
# makefile for GPUPerfAPIGL
2
2
3
- DEPTH = ..
3
+ DEPTH = ../..
4
4
include $(DEPTH ) /Build/Linux/Common.mk
5
5
6
6
TARGETSO = libGPUPerfAPIGL$(TARGET_SUFFIX ) .so
You can’t perform that action at this time.
0 commit comments