SWDEV-245381: Updated guarantee error messages to print based on BUILD_TYPE
Change-Id: Ifafbc075d6b9860da040c72859127c4e638a786f
This commit is contained in:
zatwierdzone przez
Anusha Godavarthy Surya
rodzic
7822bf7e42
commit
387d0aa829
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user