Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123064977
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
Thu, Jul 24, 17:40
Size
599 B
Mime Type
text/x-makefile
Expires
Sat, Jul 26, 17:40 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27625740
Attached To
R11201 phpc-2021
Makefile
View Options
CXX=nvcc
LD=${CXX}
CXXFLAGS+=-Xcompiler="-Wall -Wextra -Werror" -std c++11 -O3
LDFLAGS+=-lm $(CXXFLAGS)
OBJS=poisson.o simulation.o double_buffer.o dumpers.o
all: poisson_per_row poisson_per_entry
poisson_per_row: $(OBJS) simulation_gpu_row.o
$(LD) -o $@ $(OBJS) simulation_gpu_row.o $(LDFLAGS)
poisson_per_entry: $(OBJS) simulation_gpu_entry.o
$(LD) -o $@ $(OBJS) simulation_gpu_entry.o $(LDFLAGS)
simulation_gpu_row.o: simulation_gpu.cu
$(CXX) $(CXXFLAGS) -DPER_ROW -c $< -o $@
simulation_gpu_entry.o: simulation_gpu.cu
$(CXX) $(CXXFLAGS) -c $< -o $@
clean:
rm -f hello poisson *.o *~
Event Timeline
Log In to Comment