Skip to content

Add asynchronous kernel execution API#192

Open
KingParmenides wants to merge 1 commit into
Syncleus:masterfrom
KingParmenides:bounty-41-execute-async
Open

Add asynchronous kernel execution API#192
KingParmenides wants to merge 1 commit into
Syncleus:masterfrom
KingParmenides:bounty-41-execute-async

Conversation

@KingParmenides
Copy link
Copy Markdown

Adds an Execution handle and Kernel.executeAsync(...) overloads so callers can start a kernel in the background and wait with waitUntilFinished().

Changes:

  • Adds com.aparapi.Execution with completion, failure, and kernel accessors
  • Mirrors the existing execute(...) overloads with executeAsync(...)
  • Adds focused sequential-mode tests for completion, multi-pass execution, and failure propagation

/claim #41

Testing:

  • git diff --check
  • Not run: mvn -Dtest=com.aparapi.runtime.AsyncExecutionTest test because this Codex environment has neither mvn nor a Java runtime installed.

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.

1 participant