Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60538406
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
Tue, Apr 30, 23:03
Size
242 B
Mime Type
text/x-makefile
Expires
Thu, May 2, 23:03 (2 d)
Engine
blob
Format
Raw Data
Handle
17370042
Attached To
R11201 phpc-2021
Makefile
View Options
NVCC = nvcc
CXX ?= g++
CXXFLAGS += -O3 -Wall
NVCCFLAGS += -O3
LDFLAGS += $(NVCCFLAGS)
#Target Rules
hello: hello_world.o
$(NVCC) $^ $(LDFLAGS) -o $@
%.o:%.cu
$(NVCC) $(NVCCFLAGS) -c $< -o $@
clean:
rm -rf *.o hello_world
Event Timeline
Log In to Comment