This is to prevent calling catch2 macros from outside catch2 TEST_CASE
that can lead to undefined bahavior. This change also disables
hipGetProcAddress tests that are not supported on static build.
Co-authored-by: Ioannis Assiouras <Ioannis.Assiouras@amd.com>
Module and stream should be created on the same device, while hipModuleGetFunction can be called from any device.
Change-Id: I4a424f9631678684292e40e05ffbaf3d887aea55
[ROCm/hip-tests commit: 293ff3a025]