Limit the number of HSA signals that are active (#140)
* Limit the number of HSA signals that are active
There is a hard limit currently to the number of
signals that HSA allows to be created (before weird stuff
happens such as hangs or straight up crashes in HSA). While
there is some work going on to fix this in HSA/AQL. Lets limit the
number we create.
Increased the counter colleciton example to 200K launches, which
with this change no longer hangs/crashes randomly in HSA.
* source formatting (clang-format v11) (#142)
Co-authored-by: bwelton <bwelton@users.noreply.github.com>
* Up timout
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bwelton <bwelton@users.noreply.github.com>
[ROCm/rocprofiler-sdk commit: de685246a7]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
162c77d349
tiomantas
d05031db89
4 comhad athraithe
+75
-2
Níor tháinig aon chomhaid le do chuardach
@@ -40,7 +40,7 @@ kernelC(T* C_d, const T* A_d, size_t N)
|
||||
void
|
||||
launchKernals()
|
||||
{
|
||||
const int NUM_LAUNCH = 1000;
|
||||
const int NUM_LAUNCH = 200000;
|
||||
// Normal HIP Calls
|
||||
int* gpuMem;
|
||||
[[maybe_unused]] hipDeviceProp_t devProp;
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir