Skip to content

Commit

Permalink
Enable opencl on macOS (#3019)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptocode authored Oct 26, 2020
1 parent 25e952d commit 0058e56
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nano/node/openclwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
#include <string>
#include <vector>

#if defined(__APPLE__)
bool nano::opencl_loaded{ true };
#else
bool nano::opencl_loaded{ false };
#endif

namespace
{
Expand Down

0 comments on commit 0058e56

Please # to comment.