-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
When using camp with RAJA, I am getting the following out-of-memory error from camp:
terminate called after throwing an instance of 'std::runtime_error'
what(): campHipErrchk(hipStreamCreate(&s)) out of memory .../camp/include/camp/resource/hip.hpp:154
The relevant code is the following:
static Hip get_default()
{
static Hip h([] {
hipStream_t s;
#if CAMP_USE_PLATFORM_DEFAULT_STREAM
s = 0;
#else
campHipErrchk(hipStreamCreate(&s));
#endif
return s;
}());
return h;
}
- Is camp inadvertently creating streams and never deleting them?
- If I pass the
-DCAMP_USE_PLATFORM_DEFAULT_STREAM=1, I get passed this error (and kick the pesky core dump a bit further down). Is passing-DCAMP_USE_PLATFORM_DEFAULT_STREAM=1what the recommendation is for AMD GPUs?
Thank you for all your help.
Metadata
Metadata
Assignees
Labels
No labels