Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change DALIOpType to dali::OpType enum class #597

Merged
merged 1 commit into from Mar 6, 2019

Conversation

klecki
Copy link
Contributor

@klecki klecki commented Mar 5, 2019

Remove cpu_op(), gpu_op(), etc from OpGraph
to simplify access to nodes.

Signed-off-by: Krzysztof Lecki klecki@nvidia.com

@klecki
Copy link
Contributor Author

klecki commented Mar 5, 2019

Build 662132

Copy link
Contributor

@mzient mzient left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments. Looks mostly ok.



DALIOpType m_nOpType = DALI_GPU;
OpType m_nOpType = OpType::GPU;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please get rid of m_n prefix. First of all n should be for number of which is not the case here.

@@ -30,7 +30,7 @@

namespace dali {

typedef int64 NodeID;
using NodeID = int64_t;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought you were renaming it in another PR, weren't you? In that case, you may leave the typedef here and spare yourself one conflict to resolve while rebasing...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything is already rebased.

@klecki
Copy link
Contributor Author

klecki commented Mar 6, 2019

Build 663208

Remove cpu_op(), gpu_op(), etc from OpGraph
to simplify access to nodes.

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@klecki
Copy link
Contributor Author

klecki commented Mar 6, 2019

Build 663348

@klecki klecki merged commit fdf5617 into NVIDIA:master Mar 6, 2019
haoxintong pushed a commit to haoxintong/DALI that referenced this pull request Jul 16, 2019
Remove cpu_op(), gpu_op(), etc from OpGraph
to simplify access to nodes.

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
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.

None yet

4 participants