mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Added support for multi gpu configuration to the GpuDevice class
This commit is contained in:
@@ -835,10 +835,10 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr
|
||||
void executeEval(Scalar* data) const {
|
||||
typedef typename TensorEvaluator<InputArgType, GpuDevice>::Dimensions InputDims;
|
||||
|
||||
const int maxSharedMem = sharedMemPerBlock();
|
||||
const int maxThreadsPerBlock = maxCudaThreadsPerBlock();
|
||||
const int maxBlocksPerProcessor = maxCudaThreadsPerMultiProcessor() / maxThreadsPerBlock;
|
||||
const int numMultiProcessors = getNumCudaMultiProcessors();
|
||||
const int maxSharedMem = m_device.sharedMemPerBlock();
|
||||
const int maxThreadsPerBlock = m_device.maxCudaThreadsPerBlock();
|
||||
const int maxBlocksPerProcessor = m_device.maxCudaThreadsPerMultiProcessor() / maxThreadsPerBlock;
|
||||
const int numMultiProcessors = m_device.getNumCudaMultiProcessors();
|
||||
const int warpSize = 32;
|
||||
|
||||
switch (NumKernelDims) {
|
||||
|
||||
Reference in New Issue
Block a user