Skip to content

privatize pk.array#406

Open
nayyirahsan wants to merge 2 commits intokokkos:mainfrom
nayyirahsan:nayyirahsan/pkArrayPrivate
Open

privatize pk.array#406
nayyirahsan wants to merge 2 commits intokokkos:mainfrom
nayyirahsan:nayyirahsan/pkArrayPrivate

Conversation

@nayyirahsan
Copy link
Copy Markdown
Contributor

Closes #388.

Renames pk.array to pk._array as the internal conversion function. pk.array is kept temporarily as a compatibility wrapper that emits a DeprecationWarning and forwards to pk._array. User-facing call sites are migrated to pk.asarray, while CuPy/GPU paths use pk._array directly to preserve conversion semantics. Deprecation and compatibility tests are added covering NumPy arrays, lists, scalars, and CuPy (CUDA-gated).

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.

Set pk.array as private (i.e., pk._array)

1 participant