24bf83f808
making sure the current thread is not null before calling ihipDestroyDevice
Change-Id: Ib75e3f9ee1c4e0065986e3fed1065907220f4379
[ROCm/clr commit: c221406681]