Skip to content

Commit 8257a96

Browse files
committed
mid commit
1 parent 739fa95 commit 8257a96

8 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/num/code.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2136,7 +2136,6 @@ STATIC void num_ssm_pad_wrap(num_p num_fft, num_p num, uint64_t pos, ssm_params_
21362136
assert(num->size >= pos + p->count)
21372137
assert(num_fft->size >= p->n * p->K)
21382138

2139-
memset(num_fft->chunk, 0, p->n * p->K * sizeof(uint64_t));
21402139
uint64_t * restrict dest = num_fft->chunk;
21412140
const uint64_t * restrict src = &num->chunk[pos];
21422141

makefiles/lib.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ test t:
3636

3737
_test:
3838
$(MAKE) --directory=test
39+
40+
export

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ set -e
22
rm -rf thread_log/*
33
time make build
44
echo running
5-
time ./src/main.o $@
5+
time ./src/main.out $@
66
echo
77
echo success
88
echo

run_debug.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ set -e
22
rm -rf thread_log/*
33
make dbg
44
echo running
5-
time ./src/debug.o $@
5+
time ./src/debug.out $@
66
echo
77
echo success
88
echo

src/main.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -744,12 +744,11 @@ int main()
744744
tprintf("num_1->count: " U64P() "", num_1->count);
745745
tprintf("num_2->count: " U64P() "", num_2->count);
746746

747-
// tprintf("waiting");
748-
// getchar();
747+
num_p num_1_c = num_copy(num_1);
749748

750749
TIME_SETUP
751750
// clu_log_level_set(CLU_LOG_DYNAMIC);
752-
num_p num_res = num_mul(num_copy(num_1), num_2);
751+
num_p num_res = num_mul(num_1_c, num_2);
753752
TIME_END(t1)
754753
tprintf("time mul: %.3f", dtime(t1));
755754

0 commit comments

Comments
 (0)