Repository navigation
Full Changelog: v0.1.0...v0.2.0
Mojo 1.0 stable migration
This release migrates mojo-intel-gpu from Mojo 1.0.0b1 to the stable 1.0.0 compiler and updates the public API accordingly.
Changes:
- Bump Mojo requirement to
>=1.0.0and switch package output tomojo precompile/.mojoc - Migrate all FFI and pointer code to stable 1.0 APIs (
Pointer,unsafe_alloc,unsafe_free) - Add
ctx.library()accessor;Kerneland buffers now borrow the shared Level Zero library instead of each opening their own - Add
set_arg_float32/int32/uint32helpers toKernel - Add SPIR-V magic-number validation before
zeModuleCreate - Add failure-mode and stress test suites
- Remove dead
driver_getwrapper and duplicate imports - Fix build-log size read as
UInt64
Tested hardware:
- Intel Arc B580 (Battlemage Xe2)
Prereqs:
- Level Zero runtime (
libze_loader.so) - Intel GPU with Level Zero support
Migration notes:
mojo package->mojo precompile.mojopkg->.mojoc