-
Notifications
You must be signed in to change notification settings - Fork 94
Fix GCC 13.3 build on Ubuntu 22.04 when OpenCL bakecnd is enabled . #2974
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
Fix GCC 13.3 build on Ubuntu 22.04 when OpenCL bakecnd is enabled . #2974
Conversation
|
NOTE: PR created second time as I failed to properly sign off commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ConcatProcess(in1, in2, out); | ||
| } | ||
|
|
||
| void ConcatLayerCl::ConcatProcess(Tensor const &in1, Tensor const &in2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about changing in1 and in2 to input1 and input2?
The variables below are used as input1_* or input2_*.
It would be better to unify the naming for consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Changed naming according to suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please Fill commit message Body
- Please Rebase , not merge commit ( we manage our commit history with rebase )
LGTM
8a3b1c5 to
33844fe
Compare
33844fe to
c6144a9
Compare
c6144a9 to
bd8ec89
Compare
bd8ec89 to
3055ab8
Compare
27aa562 to
5e16526
Compare
5e16526 to
1833fef
Compare
Fixed build with OpenCL enabled on Ubuntu 22.04 using GCC 13.3. Additionally renamed input variables as requested in review (in* -> input*) Signed-off-by: mwlasiuk <[email protected]>
1833fef to
39f7323
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR fixes build using GCC version 13.3 on Ubuntu 22.04 when OpenCL backend is enabled.
Unused input2_batch_size could be removed but I would imagine it might be nice to inspect it using debugger.
Self evaluation:
How to evaluate:
Checkout on this PR branch on Ubuntu 22.04 machine and try building project using gcc version 13.3 compiler. Now build should succeed.