← 返回首页
Fix premature deallocation when deallocating with multiple devices. by umar456 · Pull Request #2867 · 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 premature deallocation when deallocating with multiple devices.#2867

Merged
9prady9 merged 7 commits into
arrayfire:masterfrom
umar456:fix_mgpu
May 2, 2020
Merged

Fix premature deallocation when deallocating with multiple devices.#2867
9prady9 merged 7 commits into
arrayfire:masterfrom
umar456:fix_mgpu

Conversation

Copy link
Copy Markdown
Member

umar456 commented May 1, 2020

  • Fix an issue with multiple GPU and memory being freed because the correct device was not active when free was called.
  • Update CLBlast to 1.5.1
  • Set the minimum version for Boost
  • Make sure that the downloaded version of Boost compute is preferred over the system version in case the Boost version is less than 1.7.1
  • Remove old doxygen variable
  • Fix const correctness of the operator* variable

umar456 added 6 commits May 1, 2020 17:14
* Arrays were being freed prematurely because the device associated with the array was not active. This change makes sure that we call setDevice before the memory is freed so we find the correct pointer in the memory manager.
umar456 added this to the 3.7.2 milestone May 1, 2020
syurkevi previously approved these changes May 1, 2020
9prady9 merged commit db3a893 into arrayfire:master May 2, 2020
9prady9 deleted the fix_mgpu branch May 2, 2020 06:53
9prady9 restored the fix_mgpu branch May 2, 2020 06:53
umar456 deleted the fix_mgpu branch June 26, 2020 18:38
umar456 mentioned this pull request Jun 27, 2020
2 tasks
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Footer

© 2026 GitHub, Inc.