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

fix template related build issues with gcc #128

Merged
merged 1 commit into from
Jul 2, 2018
Merged

fix template related build issues with gcc #128

merged 1 commit into from
Jul 2, 2018

Conversation

blin00
Copy link
Contributor

@blin00 blin00 commented Jul 1, 2018

#5 doesn't compile on my machine (ubuntu 16.04, cuda 9.2, gcc 5.5.0), but this PR makes lc0-cudnn compile again:

  • add missing template parameters
  • add using statements to derived classes (https://stackoverflow.com/q/50321788):
    • unsure if it's cleaner to add a this-> in front of variables/function calls or to add a bunch of using, but adding using is easier 😛

* add missing template parameters
* add `using` statements to derived classes (https://stackoverflow.com/q/50321788)
Copy link
Contributor

@jnewlin12345 jnewlin12345 left a comment

Choose a reason for hiding this comment

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

LGTM

@mooskagh mooskagh merged commit 3455131 into LeelaChessZero:master Jul 2, 2018
@blin00 blin00 deleted the fix-template branch July 3, 2018 22:22
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.

3 participants