Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104824586
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
Wed, Mar 12, 17:04
Size
332 B
Mime Type
text/x-makefile
Expires
Fri, Mar 14, 17:04 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24860906
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