Examples from the OpenCL cookbook written by Dhruba Bandopadhyay.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
269 B

CFLAGS += -O2 -march=native -std=c99 -I/usr/local/include
LIBS += -lcl -L/usr/local/lib64/beignet
CC = cc
BINARIES = part1 part2 part3 part4 part5 part6 part8
all: $(BINARIES)
%: %.c
$(CC) $(CFLAGS) $(LIBS) -o $@ $<
strip $@
.PHONY: clean
clean:
rm $(BINARIES)