Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F86422369
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Oct 6, 09:55
Size
332 B
Mime Type
text/x-makefile
Expires
Tue, Oct 8, 09:55 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
21420559
Attached To
R12662 PHPC-graded_hw_1
Makefile
View Options
NVCC = nvcc
CXX ?= g++
CXXFLAGS += -O3 -Wall
NVCCFLAGS += -O3 -lcublas
LDFLAGS += $(NVCCFLAGS)
#Target Rules
cgsolver: cg_main.o cg.o matrix.o matrix_coo.o mmio.o
$(NVCC) $^ $(LDFLAGS) -o $@
%.o:%.cu
$(NVCC) $(NVCCFLAGS) -c $< -o $@
OBJS=cg_main.o cg.o matrix.o matrix_coo.o mmio.o
clean:
rm -f cgsolver *.o *~
Event Timeline
Log In to Comment