Skip to content

Comments

Dynamically reshape and adjust pool#88

Merged
thatguymike merged 1 commit intoNVIDIA:caffe-0.14from
thatguymike:cub_usage_fixes
Dec 2, 2015
Merged

Dynamically reshape and adjust pool#88
thatguymike merged 1 commit intoNVIDIA:caffe-0.14from
thatguymike:cub_usage_fixes

Conversation

@thatguymike
Copy link

Another attempt to deal with allocation issues.

  1. Caffe allocates layer by layer. The problem is we can't make sure we can actually allocate the workspace we figure out. So each run, see if the workspace we are going to request is larger than the actual memory and call reshape to cleanup our allocations.

  2. fix usage of cub to make sure we get caching of large buffers, up to 4GB.

thatguymike added a commit that referenced this pull request Dec 2, 2015
Dynamically reshape and adjust pool.  Part 1 of fixing this.  @borisfom has some improvements in #89 but we have more debugging to do.
@thatguymike thatguymike merged commit 082bf14 into NVIDIA:caffe-0.14 Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant