-
Notifications
You must be signed in to change notification settings - Fork 29
Reenable BMG examples in CI testing #358
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: sycl-develop
Are you sure you want to change the base?
Conversation
block_C.reset(static_cast<std::size_t>(M) * N * L); | ||
block_D.reset(static_cast<std::size_t>(M) * N * L); | ||
block_ref_D.reset(static_cast<std::size_t>(M) * N * L); | ||
} catch(...){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be simpler to just update the allocation call of DeviceAllocation, rather than all of it's uses
throw std::runtime_error("Failed to allocate memory"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After some internal discussion and testing I have instead reverted the changes to the examples. It turns out they already print about oom if they encounter that.
This reverts commit ca79d8a.
Reenables BMG examples in CI testing, but runs examples sequentially. Examples are also changed to report if they fail to allocate memory.