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.
9 lines
520 B
CMake
9 lines
520 B
CMake
# CMake generated Testfile for
|
|
# Source directory: /Users/z/work/luxcpp/pvm
|
|
# Build directory: /Users/z/work/luxcpp/pvm/build
|
|
#
|
|
# This file includes the relevant testing commands required for
|
|
# testing this directory and lists subdirectories to be tested as well.
|
|
add_test([=[pvm-layout-test]=] "/Users/z/work/luxcpp/pvm/build/pvm-layout-test")
|
|
set_tests_properties([=[pvm-layout-test]=] PROPERTIES _BACKTRACE_TRIPLES "/Users/z/work/luxcpp/pvm/CMakeLists.txt;50;add_test;/Users/z/work/luxcpp/pvm/CMakeLists.txt;0;")
|