Skip to content

Instantly share code, notes, and snippets.

View eduardo4jesus's full-sized avatar

Eduardo Reis eduardo4jesus

View GitHub Profile
@eduardo4jesus
eduardo4jesus / Makefile
Last active June 14, 2022 15:13 — forked from goldsborough/conv.cu
Convolution with cuDNN
CXX := nvcc
TARGET := conv
HEADERS := -I $(CUDA_HOME)/include $(shell pkg-config --cflags-only-I opencv4)
LIBS := -L $(CUDA_HOME)/lib64 -L /usr/local/lib $(shell pkg-config --libs-only-L opencv4)
CXXFLAGS := -std=c++11
all: conv
conv: $(TARGET).cu
$(CXX) $(CXXFLAGS) $(HEADERS) $(LIBS) $(TARGET).cu -o $(TARGET) \