We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following example leads to an error:
import pykokkos as pk @pk.workunit def map_d(i): #i += 1 pass def main(): SIZE = 2 pk.parallel_for(SIZE, map_d) main()
This happens as we do not support pass (but that is a side comment only). The key is that this results in an error.
pass
Once I "fix" the kernel and have the resulting (correct) code:
import pykokkos as pk @pk.workunit def map_d(i): i += 1 def main(): SIZE = 2 pk.parallel_for(SIZE, map_d) main()
I am still getting the same error as before. Only after deleting pk_cpp in between kernel updates, the error goes away and my example runs properly.
pk_cpp
Action: Remove pk_cpp when kernel changes.
Used pykokkos: 2e0b664c2aec1c923c55a7dc5958fc19f0c327cd Used command: ./pk pk_example X.py
2e0b664c2aec1c923c55a7dc5958fc19f0c327cd
./pk pk_example X.py
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following example leads to an error:
This happens as we do not support
pass
(but that is a side comment only). The key is that this results in an error.Once I "fix" the kernel and have the resulting (correct) code:
I am still getting the same error as before. Only after deleting
pk_cpp
in between kernel updates, the error goes away and my example runs properly.Action: Remove pk_cpp when kernel changes.
Used pykokkos:
2e0b664c2aec1c923c55a7dc5958fc19f0c327cd
Used command:
./pk pk_example X.py
The text was updated successfully, but these errors were encountered: