-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support on Windows (Experiment) #202
Comments
Hi @kcauchy In principle.. there is ComputeCpp for Windows. Essentially, we did not try windows in Eigen yet - that would be a first step to do. |
To elaborate, Eigen uses features that have been historically poorly supported by Visual Studio. However, I know that 2015 is a lot better in that regard so it might work now. Unfortunately ComputeCpp doesn't (yet) support Visual Studio 2017, but works well with 2015. |
As my test results under VS 2017 on Windows 10, Eigen at least can be compiled.
And the compilation:
It seems our target is SYCL: ON right? The I will try on another 2695 v2 *2 workstation tomorrow with Visual Studio 2015. Hopefully it will be faster. Here's the log: |
Actually.. That should be no problem. |
This is the official response from AMD support team: https://community.amd.com/thread/223669/
So, who told you that "no problem"? |
I guess like they might have not included all the SI fixes in the closed driver, but I cannot see why forcing amdgpu open kernel driver plus this shouldn't work. Worst case scenario anyway, you can always use fglrx. |
@lukeiwanski @DuncanMcBain Eigen is also compilable under Visual Studio 2015. I guess the target is "SYCL: ON" instead of OFF. |
Yes, which should be doable with the CMake bits currently in Eigen (I'm not able really to check right now, but IIRC should be something like -DEIGEN_TEST_SYCL=1 -DEIGEN_USE_CXX11=1). |
I'm interested in windows support as well, and am willing to help if you need people to test/compile dependencies to verify everything needed for tensorflow to run with opencl works on windows. |
@welnaseth the first step would be to test if Eigen is working on windows ( https://bitbucket.org/mehdi_goli/opencl/commits/branch/Eigen-Optimised-Tensor-Vector-Contraction ) Could you give it a spin? |
I am travelling this weekend, but will be back near my computer Sunday night, I'll try then and report back :) |
Alright, So first observation is that the windows support added in codeplaysoftware/computecpp-sdk#51 to ComputeCPP did not make it into this eigen branch, i.e. the FindComputeCpp.cmake does not look for the windows library correctly. I've copy pasted FindComputeCpp.cmake from computecpp-sdk and will see if that works when compiling eigen on windows with SYCL support. |
Ok, after getting the cmake to run, I've come across the first error. In Meta.h on lines 333-334:
Produces error c2228 with the message "left of '.size' must have class/struct/union". I'm currently looking into it, but I'll admit c++ isn't my strongest language, so if you have any idea what needs to be done to correct this error, that would be great. |
@welnaseth thanks for checking this out! I created a separate issue so we can track that particular problem separately. |
Due to some AMD cards are not supported by AMD-GPU-Pro, such as HD7900 series, I think that's important to work on a Windows support for AMD cards.
I am trying that...
The text was updated successfully, but these errors were encountered: