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

Backport the Anderson2021 autoscheduler #79

Merged

Conversation

antonysigma
Copy link
Collaborator

@antonysigma antonysigma commented Aug 8, 2023

Compile manually the library libautoscheduler_anderson2021.so (Git version: v14.0.0-521-g150a93068), and then hardcode it to Halide 16.0.0. Previously, the library did not anticipate the scalar reduction expression, essential for computing
the primal and dual norm of the (L-)ADMM algorithm.

Resolves: #75 .

See also: halide/Halide#7726 , #67

@antonysigma antonysigma force-pushed the resolve-anderson2021-segfault branch 2 times, most recently from ccbb9ef to ec0f9c1 Compare August 9, 2023 04:08
@antonysigma antonysigma marked this pull request as ready for review August 9, 2023 04:25
Compile the library `libautoscheduler_anderson2021.so` (Git version:
v14.0.0-521-g150a93068) to Halide 16.0.0. Previously, the library did
not anticipate the scalar reduction expression, essential for computing
the primal and dual norm of the (L-)ADMM algorithm.
Utilize Func::udpate() feature to accumulate the squared sum of each
variable in the FuncTuple list. This also simplifies the effort to
implement/schedule the GPU routine via `norm.update(i).rfactor(...)`.
@antonysigma antonysigma force-pushed the resolve-anderson2021-segfault branch from ec0f9c1 to 82979a7 Compare August 9, 2023 04:26
@antonysigma antonysigma merged commit fd360eb into comp-imaging:master Aug 9, 2023
@antonysigma antonysigma deleted the resolve-anderson2021-segfault branch August 9, 2023 04:27
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.

Halide's Anderson2021 auto-scheduler reports segfault on L-ADMM algorithm generator
1 participant