Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

RuntimeError in collab example #8

Open
Game4Move78 opened this issue Apr 19, 2022 · 0 comments
Open

RuntimeError in collab example #8

Game4Move78 opened this issue Apr 19, 2022 · 0 comments

Comments

@Game4Move78
Copy link

Game4Move78 commented Apr 19, 2022

Simply run the Collab notebook:

https://colab.research.google.com/gist/bwasti/4ba286e0a6ce9d39ec50c0e1ebf7d428/loop_tool_lowlevel_sweep.ipynb

---------------------------------------------------------------------------

RuntimeError                              Traceback (most recent call last)

[<ipython-input-11-6393985f1619>](https://localhost:8080/#) in <module>()
     83         vec = 2 ** vec_pow
     84         inner = inner // vec
---> 85         b, c, l = test_pw(s, inner, vec)
     86         if b > best:
     87             best = b

[<ipython-input-11-6393985f1619>](https://localhost:8080/#) in test_pw(size, inner_size, vec_size)
     42     C.set(1337.0)
     43     parallel = set(loop_tree.children(loop_tree.roots[0]))
---> 44     c = lt.cuda(loop_tree, parallel)
     45     c([A, B, C])
     46     C_test = C.to_numpy()

RuntimeError: assertion: trivially_parallel(lt, ref) && "Loop not yet threadable! TODO: warp-level reductions" failed @ /tmp/pip-req-build-kiwb6ql5/src/backends/cuda/cuda.cpp:988
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant