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

Sd/v05 #25

Merged
merged 16 commits into from
Apr 3, 2017
Merged

Sd/v05 #25

merged 16 commits into from
Apr 3, 2017

Conversation

SimonDanisch
Copy link
Member

  • add build script (tested on win10)
  • some more 0.5 compats

Jeez, we really need to switch to defining unsafe_convert methods etc...

@SimonDanisch
Copy link
Member Author

@maleadt @vchuravy can we have Tim CI? :)

@vchuravy vchuravy self-requested a review March 23, 2017 12:14
)
end
end
if is_apple()
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean @static if is_linux() as it's used above? Although I'm not sure if @static makes any difference in this case.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, it shouldn't ;)

deps/deps.jl Outdated
@@ -0,0 +1,15 @@
# This is an auto-generated file; do not edit
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this file has been added before editing .gitignore :)

deps/build.jl Outdated
end

@static if is_linux()
provides(AptGet, "libblas-dev", libCLBLAS)
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be "libclblas-dev".
Also, we need to provide clear instructions how to build it: using apt-get requires root privileges, while Pkg.add is normally started without them.

@maleadt maleadt closed this Mar 23, 2017
@maleadt maleadt reopened this Mar 23, 2017
@maleadt
Copy link
Member

maleadt commented Mar 23, 2017

@SimonDanisch not sure why it didn't update... but I've activated CI, build on master succeeds https://ci.maleadt.net/buildbot/julia/builders/CLBLAS.jl%3A%20Julia%200.5%20%28x86-64%29/builds/1 but fails on this PR https://ci.maleadt.net/buildbot/julia/builders/CLBLAS.jl%3A%20Julia%200.5%20%28x86-64%29/builds/2

EDIT: nvm, I know why it didn't push the status. Let me fix it.

@maleadt maleadt closed this Mar 23, 2017
@maleadt maleadt reopened this Mar 23, 2017
Copy link
Member

@vchuravy vchuravy left a comment

Choose a reason for hiding this comment

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

Is CLBlas build with gcc or clang? You might be running into #23 on https://ci.maleadt.net/buildbot/julia/builders/CLBLAS.jl%3A%20Julia%20master%20%28x86-64%29/builds/7/steps/test/logs/stdio

Maybe we can't use Complex64 from base but rather have to figure out the correct size and layout...

@@ -1,9 +1,9 @@
import OpenCL
const cl = OpenCL
using OpenCL: cl
Copy link
Member

Choose a reason for hiding this comment

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

using OpenCL should be enough

@SimonDanisch
Copy link
Member Author

I use the prebuild binaries installed with apt-get

@maleadt
Copy link
Member

maleadt commented Mar 25, 2017

clblas binaries on my CI are the ones from GitHub too (Debian stable doesn't offer them).

@SimonDanisch
Copy link
Member Author

I'd like to leave the failures for another PR, since it should still be a strict improvement and it seems as if tests haven't been passing previously....

@dfdx
Copy link
Contributor

dfdx commented Mar 27, 2017

No objections from my side. I believe we should currently pay more attention to GPUArrays anyway, the future of CLBLAS heavily depends on it. I expect we will still link to libclblas in some way, but in the end bindings and installation procedure might be quite different.

@SimonDanisch
Copy link
Member Author

Great!
Although I'm wondering a bit what's going on here... Were the tests actually passing at any point (locally) ?

@dfdx
Copy link
Contributor

dfdx commented Mar 28, 2017

I checked CLBLAS's master a week ago on my Ubuntu box and it worked perfectly well. I can check this PR's branch in the evening.

@dfdx
Copy link
Contributor

dfdx commented Mar 29, 2017

Tests pass fine on this branch with CUDA and GeForce GTX 960M given that Complex64 is excluded from tested types. Since this is a known and documented issue, I believe we can exclude this type and merge the PR.

@SimonDanisch
Copy link
Member Author

Okay, I think this should be ready to go!

@vchuravy
Copy link
Member

vchuravy commented Apr 3, 2017

Tests for gemv? Otherwise LGTM

@SimonDanisch
Copy link
Member Author

yeah they bring me a bit in a code duplication issue, since I now started to test them in GPUArrays...
I guess the way forward is to rip all the high level stuff out of CLBLAS and do testing etc in GPUArrays

@vchuravy
Copy link
Member

vchuravy commented Apr 3, 2017 via email

@vchuravy vchuravy merged commit 935d82d into master Apr 3, 2017
@vchuravy vchuravy deleted the sd/v05 branch April 3, 2017 12:59
@SimonDanisch
Copy link
Member Author

sweet! :)

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.

5 participants