void ReferencePlatform::contextCreated(ContextImpl& context, const map<string, string>& properties) const { context.setPlatformData(new PlatformData(context.getSystem())); }
void OclMD::CpuPlatform::createData(ContextImpl& context) const { context.setPlatformData(new CpuPlatform::PlatformData(context.getSystem().getNumParticles())); #ifdef FULLDEBUG std::cout << "CPU platform data created " << std::endl; #endif }