Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/soumith/cudnn.torch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Fomitchev <bfomitchev@nvidia.com>2016-08-03 02:31:42 +0300
committerBoris Fomitchev <bfomitchev@nvidia.com>2016-08-03 02:31:42 +0300
commit36b26590696263007f7109dbb29a7e1a17bee7b9 (patch)
treee17a5af36b92b00de71cd83e000ba2e2d4334beb
parente7b4ed2bb59f4b0cf6e0df8cdafcb2946e3124a0 (diff)
Fixing buffer size
-rw-r--r--algo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/algo.lua b/algo.lua
index a88a839..6f4cfc6 100644
--- a/algo.lua
+++ b/algo.lua
@@ -15,7 +15,7 @@ local function setupAlgo(self, algo_t, perf_t, findAPI, getAPI, wsAPI, algSearch
self.extraBufferSizeInBytes = self.extraBuffer:nElement() * self.extraBuffer.elementSize()
local algWorkspaceLimit = self.workspace_limit
- or (self.nInputPlane * self.kH * self.kW * self.extraBuffer.elementSize())
+ or (self.nInputPlane * self.kH * self.kW * self.weight.elementSize())
if cudnn.benchmark then -- the manual auto-tuner is run