Skip to content

Make BBOBFunction isbits and preserve input eltype for GPU + AD compatibility#18

Merged
jonathanBieler merged 3 commits into
jonathanBieler:masterfrom
AdityaPandeyCN:gpu-compat
Apr 20, 2026
Merged

Make BBOBFunction isbits and preserve input eltype for GPU + AD compatibility#18
jonathanBieler merged 3 commits into
jonathanBieler:masterfrom
AdityaPandeyCN:gpu-compat

Conversation

@AdityaPandeyCN

Copy link
Copy Markdown
Contributor

Removes name::String from BBOBFunction so it is isbits and usable in GPU kernels, with names moved to a sidecar IdDict accessed via name(f).
Rewrites the functor to preserve input eltype through promote_type, and guards log at xi=0 in T_osz and negative base in T_asy against ifelse's both-branch evaluation.

…tibility

Signed-off-by: AdityaPandeyCN <adityapand3y666@gmail.com>
Signed-off-by: AdityaPandeyCN <adityapand3y666@gmail.com>
Signed-off-by: AdityaPandeyCN <adityapand3y666@gmail.com>
@jonathanBieler
jonathanBieler merged commit 493fd47 into jonathanBieler:master Apr 20, 2026
2 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.

2 participants