2023-06-22 20:57:51 +08:00
|
|
|
clean-ptx:
|
|
|
|
find target -name "*.ptx" -type f -delete
|
2023-06-27 18:31:04 +08:00
|
|
|
echo "" > candle-kernels/src/lib.rs
|
|
|
|
touch candle-kernels/build.rs
|
2023-06-22 20:57:51 +08:00
|
|
|
|
|
|
|
clean:
|
|
|
|
cargo clean
|
|
|
|
|
|
|
|
test:
|
|
|
|
cargo test
|
|
|
|
|
2023-08-06 13:50:33 +08:00
|
|
|
pyo3-test:
|
|
|
|
cargo build --profile=release-with-debug --package candle-pyo3
|
2023-08-06 17:17:43 +08:00
|
|
|
python3 candle-pyo3/test.py
|
2023-08-06 13:50:33 +08:00
|
|
|
|
2023-06-22 20:57:51 +08:00
|
|
|
all: test
|