Skip to content
Snippets Groups Projects
Commit 38f35bb7 authored by Hkorb's avatar Hkorb
Browse files

one more compiler warning

parent 34192d2b
No related branches found
No related tags found
1 merge request!81fixed AL
......@@ -80,7 +80,7 @@ void Simulation::init(SPtr<Parameter> para, SPtr<GridProvider> gridProvider, std
comm = vf::gpu::Communicator::getInstanz();
this->para = para;
printf("para ID %d, numProcs: %d, nDevices: %ld, devices: %d, maxDev: %d \n", para->getMyID(), para->getNumprocs(), para->getDevices().size(), para->getDevices()[0], para->getMaxDev());
printf("para ID %d, numProcs: %d, nDevices: %zd, devices: %d, maxDev: %d \n", para->getMyID(), para->getNumprocs(), para->getDevices().size(), para->getDevices()[0], para->getMaxDev());
printf("comm numproces %d, pid %d \n", comm->getNummberOfProcess(), comm->getPID());
int dev = comm->mapCudaDevice(para->getMyID(), para->getNumprocs(), para->getDevices(), para->getMaxDev());
printf("dev: %d \n", dev);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment