def set_max_workspace_size(size):
 global _max_workspace_size
 _max_workspace_size = size

def set_max_workspace_size ( size ) : global _max_workspace_size _max_workspace_size = size
sets the workspace size for cudnn .