265d0a2d2b
This test is launching threads that call HIP APIs and then immediately detaching those threads and returning from main(). This causes multiple issues because when returning from main(), global variables are destroyed while threads might still be running which leads to random segfaults.