Thread: mtsieve
View Single Post
Old 2020-05-30, 01:19   #322
Citrix
 
Citrix's Avatar
 
Jun 2003

112·13 Posts
Default

Looking at the code more closely -

In the make file for linking the *cl files the $(GPUCPPFLAGS) and $(*_GPU_OBJS) is missing so the compiler does not even build the GPU.o files.

I now have
Code:
gcwsievecl: $(GPU_CORE_OBJS) $(PRIMESIEVE_OBJS) $(ASM_OBJS) $(GCW_OBJS) $(GCW_GPU_OBJS)
	$(CC) $(CPPFLAGS) $(LDFLAGS) -o $@ $^ $(GPUCPPFLAGS) $(GPULDFLAGS) $(EXTRALDFLAGS)
In ip_CullenWoodallApp->GetDevice() ; there is no function defined as GetDevice.
Maybe an object of device type needs to be created under CullenWoodallGpuWorker.

Then use function *GetDeviceIdPtr or GetDeviceId (in device.h)

Are you able to correct the code?
Citrix is online now   Reply With Quote