-
Notifications
You must be signed in to change notification settings - Fork 24
Add macOS support #17
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
base: master
Are you sure you want to change the base?
Conversation
|
How can I determine the problem? I am not really familiar with GPGPU programming. |
|
I reintegrated the include correction from About the MacOS support, it can be achieved by a symlink to the two paths via the "OPENCL_INCLUDE" and "OPENCL_LIB" env vars. It doesn't seem like a good idea to ship platform dependent modifications. I can include an explanation in the |
|
@bhamon how about this changes? |
|
And can you help me with this? |
|
@bhamon can you give me suggest how to debug this issue or at least get stacktrace? |
|
Just tried: Got: |
|
@bhamon here is call stack: |
|
May be this is a reason: https://stackoverflow.com/a/43991502/440168 |
|
@k06a I'm ok with the change in the Makefile, I will push it soon. About your problem, can you give me the content of your configuration file? |
|
@bhamon my configuration if mostly recommended: My device is: |
|
@k06a Have you tried to change the 8192 to 4? |
|
Just tried config: And got: |
|
Interesting fact, that https://github.com/r-majere/mjminer works for me at same speed on CPU when using AVX2 instruction set: |
|
@bhamon why your app suggests me to use 8192 instead on 4? :) |
|
@k06a Good news, it works. About the performances, OpenCL on your CPU (embedded GPU) can't go really any faster than a well optimized AVX2 implementation. The GPU plot generator is mainly targeted for dedicated GPUs. About the auto-detection feature, I don't have any easy mean to detect whether the GPU is tied to your display or not. So by default I suggest 8192, and I added an entry in the FAQ (in README.md) to help solving this particular problem. |
|
@bhamon are you sure you don't wanna merge include-related changes? This will make OSX compilation much harder (I am talking about hard linking dirs and files) |
|
Did anyone make a osx build? I have a hackintosh with a R290 and it would be great to use that to plot with.. |
|
@gateway this branch is fully compatible with macOS: https://github.com/k06a/gpuPlotGenerator/tree/feature/macos It is partially merged in this repo. You can see all changes on third tab at top of this page: |
|
@bhamon let me know and I can beta test this! 🍻 |
Uh oh!
There was an error while loading. Please reload this page.