Comments (3)
Sorry for the delay here
I haven't been aware of the topic of "code signing" at all. Usually, the Mac binaries are provided by external contributors. I hope it is OK to ping @LlemonDuck here: I think you provided the last Mac binaries - do you know details about this topic, or did you do something to "sign" the code in any way?
from jocl.
I did not do any code signing for the natives. However, it was not built for ARM, and should not require code signing since, AFAIK, code signatures are only required for ARM binaries, and not required for Intel binaries. If you are trying to load these binaries through an ARM-executed Java stack, I'm not entirely surprised that it had issues.
You could try providing an ad-hoc signature to the binary with codesign -s - binary_name
, but again, the binary wasn't built for ARM and I don't expect it would execute in the first place under non-Rosetta execution.
I'm also not even entirely sure that OpenCL will have an ARM implementation on the M1 macs, considering it has been deprecated technology on macOS for a while now. If you really want it to run on M1, you could try building the binaries yourself referencing the OpenCL headers on ARM, if they exist, then codesign locally and try that.
from jocl.
Admittedly, much of this goes way over my head, in terms of specifics for MacOS, ARM and the requirements. There once was a contribution for ARM binaries at #32 (comment) , but this was not part of a release, and I don't know whether it would suffer from the same problem as the linked FFI library. If anybody has further ideas or insights (or maybe even tried out the binary that I linked to), feel free to share them here.
from jocl.
Related Issues (20)
- JVM crash on call of org.jocl.CL.clEnquequeNDRangeKernelNative HOT 1
- Struct implementation HOT 8
- MIOpen OpenCL support (AMD's alternative to cuDNN)
- OpenCL 3.0 is here
- Build Failure Windows 10.0.18362.1016 HOT 5
- Debug Assertion Failed in File "xtree" HOT 6
- JOCL on Mac OS Big Sur & Apple Silicon M1 HOT 5
- Build failed on Ubuntu 18.04 (on mvn clean install) HOT 1
- cl_APPLE_gl_sharing bindings? HOT 5
- Trying to run any sample on osx big sur, results in "The function clCreateCommandQueueWithProperties is not supported" HOT 3
- Crashes my mac HOT 8
- [Question] How to get platform and device information? HOT 1
- Native pointer address! HOT 3
- How to use JOCL
- How to use jocl on windows HOT 24
- Why is there no libJOCL_2_0_4-linux-arm64.so? HOT 35
- Google pixel support HOT 3
- Panama Support HOT 3
- SIGSEGV Erro during release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jocl.