add data type for zero copy#16313
Merged
NHZlX merged 1 commit intoPaddlePaddle:feature/anakin-enginefrom Mar 20, 2019
Merged
Conversation
2. add data type for zero copy
luotao1
reviewed
Mar 20, 2019
| if (type == framework::proto::VarType::FP32) { | ||
| return PaddleDType::FLOAT32; | ||
| } else if (type == framework::proto::VarType::INT64) { | ||
| return PaddleDType::INT64; |
Contributor
Author
There was a problem hiding this comment.
Yeah. At present, int32 will not be used of the VIS model and this branch will then merge to develop.
Shixiaowei02
approved these changes
Mar 20, 2019
NHZlX
added a commit
to NHZlX/Paddle
that referenced
this pull request
Mar 20, 2019
…addlePaddle#16313 1. refine anakin engine 2. add data type for zero copy align dev branch and PaddlePaddle:feature/anakin-engine brach the cudnn workspace modify was not included for now, because we use a hard code way in feature/anakin-engine branch. There should be a better way to implement it, and subsequent submissions will be made. test=develop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
zero copy 使用方式