get_connected_workspace_size() and get_convolutional_workspace_size()

This commit is contained in:
AlexeyAB
2019-02-08 00:51:20 +03:00
parent 6832290eee
commit 9e07605bc5
3 changed files with 16 additions and 11 deletions

View File

@ -11,8 +11,11 @@
#include <stdlib.h>
#include <string.h>
static size_t get_connected_workspace_size(layer l) {
size_t get_connected_workspace_size(layer l)
{
#ifdef CUDNN
return get_convolutional_workspace_size(l);
/*
if (gpu_index >= 0) {
size_t most = 0;
size_t s = 0;
@ -42,6 +45,7 @@ static size_t get_connected_workspace_size(layer l) {
if (s > most) most = s;
return most;
}
*/
#endif
return 0;
}