Handle special cases when stream value is hipStreamLegacy (0x01) or hipStreamPerThread (0x02) (#343)

* Updated stream code to handle special cases when stream value is 0x01 or 0x02

* Removed extra definitions and updated tests to account for special case

* Modified stream.cpp so that each thread assigned a unique stream ID when hipStreamPerThread is used as stream value. Modified tests to check that threads are assigned unique, repeated values when hipStreamPerThread is called

* Updated idx_offset, stream_map, and thread counter to be in one struct.

* Update stream.cpp to only use add_stream() and update tests for seperate unit test for hipStreamPerThread

* Remove unecessary comment

* Removed unecessary line

* Updated tests and stream.cpp to update stream ID correctly

* Updated test structure
Этот коммит содержится в:
itrowbri
2025-08-27 20:04:13 -05:00
коммит произвёл GitHub
родитель 9aaad2017b
Коммит 4d98a0169f
15 изменённых файлов: 572 добавлений и 15 удалений
-2
Просмотреть файл
@@ -40,8 +40,6 @@
#include <sqlite3.h>
#include <algorithm>
#include <algorithm>
namespace rocpd
{
namespace interop