Thread: mtsieve
View Single Post
Old 2020-05-30, 12:51   #323
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·3,001 Posts
Default

I really messed up the makefile for GPU builds. You need this line:

GCW_GPU_OBJS=cullen_woodall/CullenWoodallApp_gpu.o cullen_woodall/CullenWoodallWorker.o cullen_woodall/CullenWoodallGpuWorker_gpu.o

and this line:

gcwsievecl: $(GPU_CORE_OBJS) $(PRIMESIEVE_OBJS) $(ASM_OBJS) $(GCW_GPU_OBJS)
$(CC) $(CPPFLAGS) $(LDFLAGS) -o $@ $^ $(GPULDFLAGS) $(EXTRALDFLAGS)

to get a clean build. I haven't tested it yet, but I know that I have to fix the other OpenCL exes.

Thanks for the find.

BTW, I just committed an updated makefile that should fix all OpenCL exes.

Last fiddled with by rogue on 2020-05-30 at 13:02
rogue is online now   Reply With Quote