-
-
Save mortvest/a318c4031f579d08dd1f306452a3e635 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
entry main [m] (xxx: [m]i64): [m]i64 = | |
map (\i -> xxx[100 + i]) xxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import _test2 | |
from futhark_ffi import Futhark | |
test2 = Futhark(_test2) | |
res = test2.main(np.arange(100)) | |
print(test2.from_futhark(res)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment