Commit b32b429b authored by gsell's avatar gsell
Browse files

cleanup: IPPL_DKS_MIC related code removed

parent 37fa3cde
......@@ -101,29 +101,17 @@ FFT(const Domain_t& cdomain, const bool& compressTemps=false)
transformTypes[d] = FFTBase<Dim,T>::ccFFT; // all transforms are complex-to-complex
normFact /= lengths[d];
}
#ifdef IPPL_DKS
#ifdef IPPL_DKS_OPENCL
INFOMSG("Init DKS base opencl" << endl);
base.setAPI("OpenCL", 6);
base.setDevice("-gpu", 4);
base.initDevice();
#endif
#ifdef IPPL_DKS_CUDA
#if defined(IPPL_DKS) && defined(IPPL_DKS_CUDA)
INFOMSG("Init DKS base cuda" << endl);
base.setAPI("Cuda", 4);
base.setDevice("-gpu", 4);
base.initDevice();
#endif
#ifdef IPPL_DKS_MIC
INFOMSG("Init DKS base MIC" << endl);
base.setAPI("OpenMP", 6);
base.setDevice("-mic", 4);
#elseif defined(IPPL_DKS) && defined(IPPL_DKS_OPENCL)
INFOMSG("Init DKS base opencl" << endl);
base.setAPI("OpenCL", 6);
base.setDevice("-gpu", 4);
base.initDevice();
#endif
#endif
// set up FFT Engine
......
......@@ -84,23 +84,12 @@ std::stack<StaticIpplInfo> IpplInfo::stashedStaticMembers;
//dks base member of IpplInfo initialized to default values
bool IpplInfo::DKSEnabled = false;
#ifdef IPPL_DKS
#ifdef IPPL_DKS_CUDA
#if defined(IPPL_DKS) && defined(IPPL_DKS_CUDA)
DKSOPAL *IpplInfo::DKS = new DKSOPAL("Cuda", "-gpu");
#endif
#ifdef IPPL_DKS_OPENCL
#elseif defined(IPPL_DKS) && defined(IPPL_DKS_OPENCL)
DKSOPAL *IpplInfo::DKS = new DKSOPAL("OpenCL", "-gpu");
#endif
#ifdef IPPL_DKS_MIC
DKSOPAL *IpplInfo::DKS = new DKSOPAL("OpenMP", "-mic");
#endif
#endif
// should we use the optimization of deferring guard cell fills until
// absolutely needed? Can be changed to true by specifying the
// flag --defergcfill
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment