Skip to content

Commit

Permalink
some updates for Nim 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jcosborn committed Oct 3, 2024
1 parent 1c9c0c5 commit 2c6b34f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/comms/commsUtils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ macro echo0*(args: varargs[untyped]): untyped =
var call = newCall(bindSym"echoRaw")
result = evalArgs(call, args)
result.add(quote do:
bind myRank
if myRank==0 and threadNum==0:
`call`
)
Expand Down
2 changes: 1 addition & 1 deletion src/simd.nim
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ when true:
msa(SimdS16, 16, float32)
when not declared(SimdD16):
when declared(SimdD8):
msa(SimdD16, 2, SimdD8[])
msa(SimdD16, 2, `[]`SimdD8)
elif declared(SimdD4):
msa(SimdD16, 4, SimdD4[])
elif declared(SimdD2):
Expand Down

0 comments on commit 2c6b34f

Please sign in to comment.