mirror of
https://github.com/luxfi/pvm.git
synced 2026-10-30 15:20:39 +00:00
Establish PVM (Platform-VM) GPU substrate scaffold for LP-137
GPU-native compliance:
- pvm_gpu_layout.hpp ValidatorSlot, StakeRecord/Op, SlashEvidence,
EpochState, PVMRoundDescriptor, ValidatorOp,
PVMTransitionResult — all 16-byte aligned with
explicit pad to fixed arena strides for
byte-stable host/device ABI
- pvm_cpu_reference.cpp Deterministic CPU oracle implementing four
canonical kernels: ValidatorSetApply,
StakeTransition, SlashingTransition,
EpochTransition (root composition)
- pvm_layout_test 12 layout + reference-determinism checks; all
pass with byte-identical roots across runs
This closes the layout half of the P-Chain GPU-native gap. v0.53 ships
the matching CUDA + Metal transition kernels and the cross-backend
determinism harness.
13 lines
317 B
Makefile
13 lines
317 B
Makefile
# CMAKE generated file: DO NOT EDIT!
|
|
# Generated by "Unix Makefiles" Generator, CMake Version 4.3
|
|
|
|
# compile CXX with /usr/bin/c++
|
|
CXX_DEFINES =
|
|
|
|
CXX_INCLUDES = -I/Users/z/work/luxcpp/pvm/include
|
|
|
|
CXX_FLAGSarm64 = -O3 -DNDEBUG -std=gnu++20 -arch arm64 -fPIE
|
|
|
|
CXX_FLAGS = -O3 -DNDEBUG -std=gnu++20 -arch arm64 -fPIE
|
|
|