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

[Fix] generated runtime errors #36

Merged
merged 4 commits into from
Dec 9, 2023
Merged

[Fix] generated runtime errors #36

merged 4 commits into from
Dec 9, 2023

Conversation

g5t
Copy link
Collaborator

@g5t g5t commented Dec 9, 2023

  • Parts of the generated runtime were not handled correctly due to oversights and lack of testing. The OpenACC-only funnel version of the raytracer did not index component instances correctly and always skipped the first component. The jump and split logic in the main raytrace included Expr output which did not check for instrument-parameter-ness via the {:p} format specification.
  • Indexing and formatting errors are fixed. Tests are added to exercise the runtime logic.

Additionally, the operators %, << and >> are now supported in Expr objects (and parse from Instr/Comp files)

- Parts of the generated runtime were not handled correctly due to
	oversights and lack of testing. The OpenACC-only funnel version of the
	raytracer did not index component instances correctly and always
	skipped the first component. The jump and split logic in the main
	raytrace included Expr output which did not check for
	instrument-parameter-ness via the {:p} format specification.
- Indexing and formatting errors are fixed. Tests are added to exercise
	the runtime logic.
	Additionally, the operators "%", "<<" and ">>" are now supported in
	Expr objects (and parse from Instr/Comp files).
- The runtime should now be more correct without any negative side
	effects.
@g5t g5t linked an issue Dec 9, 2023 that may be closed by this pull request
@g5t g5t merged commit 21fab41 into main Dec 9, 2023
11 checks passed
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

Successfully merging this pull request may close these issues.

_particle->_index must be 1-based
1 participant