SWDEV-245381: Updated guarantee error messages to print based on BUILD_TYPE

Change-Id: Ifafbc075d6b9860da040c72859127c4e638a786f
This commit is contained in:
agodavar
2021-01-05 05:08:50 -05:00
zatwierdzone przez Anusha Godavarthy Surya
rodzic 7822bf7e42
commit 387d0aa829
6 zmienionych plików z 24 dodań i 25 usunięć
+1 -2
Wyświetl plik
@@ -19,7 +19,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#include "hip_code_object.hpp"
#include "amd_hsa_elf.hpp"
@@ -480,7 +479,7 @@ hipError_t CodeObject::extractCodeObjectFromFatBinary(const void* data,
}
}
guarantee(false && "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!");
guarantee(false, "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!");
return hipErrorNoBinaryForGpu;
}
}