← 返回首页
Fix OpenCL memory migration on devices with different contexts by umar456 · Pull Request #3510 · arrayfire/arrayfire · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Fix OpenCL memory migration on devices with different contexts#3510

Merged
christophe-murphy merged 1 commit into
arrayfire:masterfrom
umar456:fix_opencl_migration
Oct 1, 2024
Merged

Fix OpenCL memory migration on devices with different contexts#3510
christophe-murphy merged 1 commit into
arrayfire:masterfrom
umar456:fix_opencl_migration

Conversation

Copy link
Copy Markdown
Member

umar456 commented Oct 5, 2023

Fixes an issue with the OpenCL backend where migration to devices in different contexts was breaking due to an invalid array size calculation

Description

  • Fixes the memory size parameter in the enqueueMapBuffer function.

Changes to Users

N/A

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • [ ] Functions added to unified API
  • [ ] Functions documented

christophe-murphy merged commit cc996ad into arrayfire:master Oct 1, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants

Footer

© 2026 GitHub, Inc.