Files
tinygrad/test/external/process_replay/test_process_replay.sh
qazal c23d44c779 AST is UOp (#6030)
* most of the work from the uops2 branch

* schedule

* realize

* kernel

* lowerer

* search

* green

* merge uops with ops

* Revert "merge uops with ops"

This reverts commit 1408a59f12.

* fix benchmark

* remove extra dedup
2024-08-16 22:09:00 +03:00

13 lines
416 B
Bash
Executable File

#!/bin/bash
# should assert
sed -i 's/temp/temp1/g' ./tinygrad/codegen/kernel.py
COMPARE_SCHEDULE=0 ASSERT_PROCESS_REPLAY=1 python3 test/external/process_replay/process_replay.py &> /dev/null
if [[ $? -eq 0 ]]; then
echo "PROCESS REPLAY IS WRONG."
exit 1
fi
# should NOT assert
git stash > /dev/null
COMPARE_SCHEDULE=0 ASSERT_PROCESS_REPLAY=1 python3 test/external/process_replay/process_replay.py &> /dev/null