Scaffold sw/runtime/include/fluidpop.h header stub for runtime API #99
Labels
No labels
adr
agent:blocked-ci
agent:blocked-human
agent:blocked-resolver
agent:done
agent:in-progress
agent:no-touch
agent:pinged
agent:pr-open
agent:queued
agent:wip
area:board
area:funding
area:infra
area:phy
area:poplink
area:rtl
area:software
area:supply-chain
area:verification
ci-failed
ci-timeout
docs
do-not-merge
human-approved
needs-human-approval
needs-rebase
needs-triage
phase:1
ready-for-review
review:findings
review:pass
risk:tripwire
swarm:quarantined
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Fluid/fluidpop-v1#99
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Create the C header stub at
sw/runtime/include/fluidpop.hthat PLAN.md Section 14.3 names as the canonical location for the user-space runtime API surface. The stub provides declarations only (no implementation), so the existing Runtime API design + driver scaffolding issue has a known landing path and future docs (programming-model spec, ISA reference) can cross-link the symbol names.Contents:
#ifndef FLUIDPOP_Hinclude guardfluidpop_device_t,fluidpop_stream_t,fluidpop_event_tfluidpop_open,fluidpop_alloc,fluidpop_copy_h2d,fluidpop_copy_d2h,fluidpop_copy_d2d,fluidpop_launch,fluidpop_barrier,fluidpop_broadcast,fluidpop_all_gather,fluidpop_query_telemetryFLUIDPOP_OP_SUM | MAX | MIN | AVGsw/runtime/README.mdexplaining the directory and pointing at the runtime API design issueAcceptance criteria
sw/runtime/include/fluidpop.hexists with declarations above/* TODO: ... */describing what's still undecidedsw/runtime/README.mdcreated and references PLAN.md Section 14 and the runtime API design issue.cimplementation files created — header-only scaffoldingPlan refs
Section 14.3 (user-space runtime API), Section 14.1 (layer stack), Section 14.4 (tensor partitioning informing future param types)
Notes
Header-only scaffolding. Parameter types stay loose (TBD) on purpose — final types depend on driver IOCTL surface and ADR-011, which are tracked in the runtime API + driver scaffolding issue. Do NOT modify LICENSE.md (off-limits per ADR-017); use a short license-mention comment that points to LICENSE.md.