Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F64587271
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
Mon, May 27, 23:47
Size
508 B
Mime Type
text/x-makefile
Expires
Wed, May 29, 23:47 (2 d)
Engine
blob
Format
Raw Data
Handle
17928436
Attached To
R10025 iCAPs public version 2
Makefile
View Options
INCLUDES = -lm -I$(CUDA_INCLUDE)
CFLAGS = $(INCLUDES)
LDFLAGS = -L$(CUDA_LIBRARY) -lcudart
MEX = mex
CXX = g++
NVCC = nvcc
#GPUFLAGS = -arch=sm_35 #Deneb
GPUFLAGS = -arch=sm_70 #v100
MEX2 = MyTemporal_MEX
CUDA1 = kernel
WRAP1 = wrapper
all: $(MEX2).mexa64
$(MEX2).mexa64: $(WRAP1).o $(CUDA1).o
$(MEX) -output $(MEX2) $(MEX2).cpp $^ $(LDFLAGS) $(CFLAGS)
%.o: %.cu
$(NVCC) -Xptxas="-v" -Xptxas -dlcm=ca -Xcompiler -fPIC -c -lineinfo $(GPUFLAGS) $(INCLUDES) $<
clean:
rm -rf *.o $(MEX2).mexa64
Event Timeline
Log In to Comment