Skip to content
New issue

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

"python3 litmustestrunner.py -g" Fails due to generate_thread_header definition #4

Open
perlfu opened this issue Dec 9, 2021 · 2 comments

Comments

@perlfu
Copy link

perlfu commented Dec 9, 2021

Looks like Vulkan generator code is not up to date?

$ python3 litmustestrunner.py message-passing -g
Generating message-passing litmus test for backend vulkan
Traceback (most recent call last):
  File "litmustestrunner.py", line 147, in <module>
    main()
  File "litmustestrunner.py", line 121, in main
    generate(test_config, parameter_config, backend)
  File "litmustestrunner.py", line 28, in generate
    litmus_test.generate()
  File "/amd/_git/litmus-generator/litmusgenerator.py", line 110, in generate
    thread_statements = self.generate_thread_header(thread.workgroup, thread.local_id, thread.has_barrier)
TypeError: generate_thread_header() takes 1 positional argument but 4 were given
@reeselevine
Copy link
Owner

@perlfu yeah sorry about that! We've been focused on webgpu stuff recently, but I will eventually get back to this and get it working for Vulkan generation as well. I also need to add some documentation on how to run the shaders once they are generated.

@perlfu
Copy link
Author

perlfu commented Dec 9, 2021

No problem!
I filed this before I heard you'd been focusing on WebGPU recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants