/* HIT_START * BUILD: %t %s ../../test_common.cpp * RUN_NAMED: %t hipMultiThreadDevice-serial --tests 0x1 * RUN_NAMED: %t hipMultiThreadDevice-pyramid --tests 0x4 * RUN_NAMED: %t hipMultiThreadDevice-nearzero --tests 0x10 * HIT_END */ #include #include "test_common.h" // Create a lot of streams and then destroy 'em. void createThenDestroyStreams(int iterations, int burstSize) { hipStream_t *streams = new hipStream_t[burstSize]; for (int i=0; i