Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Commit

Permalink
Fix Missing file in ROCm Debugger v1.3 November 2016 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Perhaad Mistry committed Nov 16, 2016
1 parent ff8e6a2 commit 41a2545
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
Binary file modified gdb/bin/x86_64/amd-gdb
Binary file not shown.
42 changes: 42 additions & 0 deletions gpudebugsdk/samples/MatrixMultiplication/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright (c) 2015 Advanced Micro Devices, Inc. All rights reserved.

makefile: all
all: MatrixMul

SDKINC=../../include/

HSADIR=/opt/rocm/hsa/
HSAINC=$(HSADIR)include/hsa
HSALIB=$(HSADIR)lib/

LIBLINE=-L$(HSALIB) -l:libhsa-runtime64.so.1

CC=g++

TESTCOMMON=../Common
CFLAGS= -g -D_DEBUG -std=c++11 -m64 -Werror -I$(HSAINC) -I$(TESTCOMMON) -I$(SDKINC)
LDFLAGS= -g -m64 -Werror -Wl,--unresolved-symbols=ignore-in-shared-libs

OBJFLAGS = -c $(CFLAGS)

SOURCES=\
$(TESTCOMMON)/HSAResourceManager.cpp\
$(TESTCOMMON)/HSAExtensionFinalizer.cpp\
MatrixMul.cpp

OBJECTS=$(SOURCES:.cpp=.o)

DEPS := $(OBJECTS:.o=.d)

MatrixMul : $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) $(LIBLINE) -o MatrixMul

.cpp.o:
$(CC) -c -MMD $(CFLAGS) $< -o $@

clean:
rm -f $(TESTCOMMON)/*.o $(TESTCOMMON)/*.d
rm -f *.o *.d
rm -f MatrixMul

-include $(DEPS)

0 comments on commit 41a2545

Please sign in to comment.