Skip to content

Commit

Permalink
Merge pull request #228 from adanalis/2024.06.rocprof_sdk
Browse files Browse the repository at this point in the history
Beta support for AMD ROCprofiler-SDK events.
  • Loading branch information
adanalis authored Aug 30, 2024
2 parents 337d305 + 0f93aac commit b7097f4
Show file tree
Hide file tree
Showing 11 changed files with 2,103 additions and 4 deletions.
14 changes: 14 additions & 0 deletions src/components/rocp_sdk/Rules.rocp_sdk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
COMPSRCS += components/rocp_sdk/rocp_sdk.c

COMPOBJS += rocp_sdk.o sdk_class.o

ROCP_SDK_INCL=$(PAPI_ROCP_SDK_ROOT)/include

CFLAGS += -g -I$(ROCP_SDK_INCL) -D__HIP_PLATFORM_AMD__
LDFLAGS += $(LDL)

rocp_sdk.o: components/rocp_sdk/rocp_sdk.c $(HEADERS)
$(CC) $(LIBCFLAGS) $(OPTFLAGS) -c $< -o $@

sdk_class.o: components/rocp_sdk/sdk_class.cpp $(HEADERS)
$(CXX) $(LIBCFLAGS) $(OPTFLAGS) -c $< -o $@
Loading

0 comments on commit b7097f4

Please sign in to comment.