Merge branch 'ae' into ae-flash-virgo

This commit is contained in:
Hansung Kim
2025-01-30 01:49:05 -08:00
4 changed files with 7 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ ln -sf input.c.rand.fp32.seqlen1024headdim64.row.bin input.c.bin
for arch in "${archs[@]}"; do
git checkout ae-flash-$arch
git pull
# re-compile libvortexrt.a
# FIXME after restructure

View File

@@ -1,5 +1,9 @@
#!/bin/sh
# hopper and virgo has the same SIMT configurations
git checkout ae-hopper
git pull
if [ ! -f input.a.rand01.fp16.m256n256k256.row.bin ]; then
echo "input binaries not found, generating operands"
python3 generate_operands.py

View File

@@ -53,7 +53,7 @@
#define PRINTF(...) sprintf(PRINT_BUF, __VA_ARGS__)
// #define PRINTF(...) vx_printf(__VA_ARGS__)
#define SWISH(beta, x) ((x) / (1 + exp(-(beta) * (x))))
// #define POWER
#define POWER
typedef uint16_t smem_elem_t;
// typedef float smem_elem_t;

View File

@@ -53,6 +53,7 @@ done
for arch in "${archs[@]}"; do
git checkout ae-$arch
git pull
# re-compile libvortexrt.a
# FIXME after restructure