Skip to content

Commit

Permalink
transformer: typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Viviane Potocnik committed Oct 23, 2023
1 parent 0fd7990 commit e9eb039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/apps/transformer/src/transformer.h
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ static inline void transformer_layer_fp64(transformer_layer_fp64_t *const l) {
if (is_sender == 1) {
// determine the destination address
double *data_dst = cluster_ofmap_lin2 - (1 << level) * cl_offset;
if (!snrt_compute_core_idx()) {
if (!snrt_is_compute_core()) {
// printf("cluster_id = %d, level = %d, data_src = %d, data_dst = %d\n", cluster_id, level, data_src, data_dst);
snrt_dma_txid_t txid =
snrt_dma_start_1d(
Expand Down

0 comments on commit e9eb039

Please sign in to comment.