The getOclPruneKernelJ4Concurrency(..) that used to implement
the concurrency parameter switching depending on vendor is now
a trivial return the same value as defined by macros. Hence,
this patch removes the function and code now uses the macro directly.
Change-Id: I61d4b0a91e9b3256633860165ab0b7f4a34f9687
* and j-cluster concurrency, in x, y, and z, respectively.
* - The 1D block-grid contains as many blocks as super-clusters.
*/
- int num_threads_z = getOclPruneKernelJ4Concurrency(nb->deviceInfo->deviceVendor);
+ int num_threads_z = c_oclPruneKernelJ4ConcurrencyDEFAULT;
/* kernel launch config */
const int c_oclPruneKernelJ4ConcurrencyDEFAULT = GMX_NBNXN_PRUNE_KERNEL_J4_CONCURRENCY_DEFAULT;
/*! @} */
-/*! \brief Returns the j4 processing concurrency parameter for the vendor \p vendorId
- * \param deviceVendor Vendor.
- */
-static inline int getOclPruneKernelJ4Concurrency(DeviceVendor deviceVendor)
-{
- switch (deviceVendor)
- {
- default: return c_oclPruneKernelJ4ConcurrencyDEFAULT;
- }
-}
-
/*! \brief Electrostatic OpenCL kernel flavors.
*
* Types of electrostatics implementations available in the OpenCL non-bonded