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:
authorSergey Zagoruyko <zagoruyko2@gmail.com>2016-05-22 23:15:24 +0300
committerSergey Zagoruyko <zagoruyko2@gmail.com>2016-05-22 23:15:24 +0300
commit92d7e316a254902fc658895781c549603b849127 (patch)
treecb30a913b76dd54689d8deb12c6e1e618bdd8f8b /ffi.lua
parent108113e95499bbdf991a6f9f95e4b03422fd0ee2 (diff)
Revert "R5 initial port"
This reverts commit ee6a36f0a366db777308b3bd60021d917761c758.
Diffstat (limited to 'ffi.lua')
-rw-r--r--ffi.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffi.lua b/ffi.lua
index 7b07124..9e2cd5e 100644
--- a/ffi.lua
+++ b/ffi.lua
@@ -724,7 +724,8 @@ typedef enum
{
CUDNN_POOLING_MAX = 0,
CUDNN_POOLING_AVERAGE_COUNT_INCLUDE_PADDING = 1, /* count for average includes padded values*/
- CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING = 2 /* count for average does not include padded values*/
+ CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING = 2, /* count for average does not include padded values*/
+ CUDNN_POOLING_AVERAGE = CUDNN_POOLING_AVERAGE_COUNT_INCLUDE_PADDING // for backward compatibility
} cudnnPoolingMode_t;
/* Create an instance of pooling descriptor */
@@ -1584,7 +1585,6 @@ cudnnStatus_t cudnnActivationBackward_v4(
const cudnnTensorDescriptor_t dxDesc,
void *dx );
-
]]
local libnames = {'libcudnn.so.5', 'libcudnn.5.dylib'}