spacemeshos / gpu-post

Spacemesh proof of space time gpu optimized setup
GNU General Public License v3.0
29 stars 9 forks source link

Issue running on Apple M1 cpu/gpu #43

Closed avive closed 3 years ago

avive commented 3 years ago
  1. Use lib files from: https://github.com/spacemeshos/gpu-post/actions/runs/863441063
  2. Copy all files to a directory.
  3. Add directory to dynamic library load path. e.g. export LD_LIBRARY_PATH=.
  4. Make all libs and test app executable by user.
  5. Run the test app and list providers. e.g. gpu-test-app -l.

Result: only cpu provider is listed. Expected: M1 provider to be listed. Env: Mac Mini M1, macOS BigSur w/o Vulkan SDK installed.

avive commented 3 years ago

This is still reproducible with this library release: https://github.com/spacemeshos/gpu-post/actions/runs/874060571

AndrewAR2 commented 3 years ago

Apple M1 is an ARM64 processor and x86-64 applications run on it through a special adapter. A special MoltenVK build is required to work with the Apple M1.

AndrewAR2 commented 3 years ago

Fixed.

avive commented 3 years ago

Confirmed!