Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Opencl interop#52

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
sakchal wants to merge12 commits intoarrayfire:master
base:master
Choose a base branch
Loading
fromsakchal:opencl_interop
Open

Conversation

sakchal
Copy link
Contributor

This PR introduces a suite of functions for the OpenCL specific function seen in the documentation. These functions written are the wrapper functions for the original C functions, and will be helping implement the OpenCL specific functions in the higher level. Additionally, this PR features the first commit that sets up the OpenCL interface functions, but future commits will also help solve the OpenCL interoperability functionality present in much of the

Introduces several functions such as:

  • get_context
  • get_queue
  • get_device_id
  • set_device_id
  • add_device_context
  • delete_device_context
  • get_device_type
  • get_platform

Chaluvadiand others added12 commitsMarch 13, 2024 10:35
@sakchal
Copy link
ContributorAuthor

Along with the initial pull request, I added another file within the "interface functions" directory titled interop.py along with some brief tests for the functions.

Within the interop.py file, lie several functions to ensure the interoperability of arrayfire and other libraries (numpy and pyopencl as of now):

  • numpy_to_af_array
  • af_to_numpy_array
  • pyopencl_to_af_array

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@sakchal

[8]ページ先頭

©2009-2025 Movatter.jp