Commit 46588f08 authored by Henning Fehrmann's avatar Henning Fehrmann Committed by Henning Fehrmann
Browse files

obsolete makefiles

parent 0626ce84
CC = /usr/bin/gcc
CC = /opt/rocm/hip/bin/hipcc
OBJ = rocmblas_AMD.o
LDFLAGS = -L/opt/rocm/lib -lhipblas -lrocblas -fopenmp
CFLAGS = -g -Wall -O3 -fopenmp -I/opt/rocm/include -I/opt/rocm/hip/include
all: ${OBJ}
${CC} -o rocmblas ${LDFLAGS} ${OBJ}
%.o: %.c ${HEADER}
${CC} ${CFLAGS} -c $<
clean:
rm *.o
CC = nvcc
OBJ = cuda_NVidia.o
LDFLAGS = -lcublas -lm -lgomp
INCLUDE= -I/usr/lib/x86_64-linux-gnu/openmpi/include/
CFLAGS = --compile -O3 -Xcompiler -fopenmp
CFLAGS = ${INCLUDE} --compile -O3 -pg -Xcompiler -fopenmp
CUDAFLAGS = --Werror cross-execution-space-call --Wno-deprecated-gpu-targets
all: ${OBJ}
${CC} -o cudablas ${OBJ} ${LDFLAGS} ${CUDAFLAGS}
%.o: %.c ${HEADER}
${CC} ${CFLAGS} -c $<
clean:
rm *.o
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment