From 315d0fc46e03f82936a237ece2d7c392b2dad6ee Mon Sep 17 00:00:00 2001 From: sdashmiz Date: Fri, 8 Mar 2024 09:10:50 -0500 Subject: [PATCH] SWDEV-447458 - remove check for image support - remove the check from hipmallocpitch Signed-off-by: sdashmiz Change-Id: Ife3a95381be703b1c1b7492abfd4432c4a8141c8 --- hipamd/src/hip_memory.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hipamd/src/hip_memory.cpp b/hipamd/src/hip_memory.cpp index 624885a022..613908501d 100644 --- a/hipamd/src/hip_memory.cpp +++ b/hipamd/src/hip_memory.cpp @@ -814,11 +814,6 @@ hipError_t ihipMallocPitch(void** ptr, size_t* pitch, size_t width, size_t heigh return hipSuccess; } - if (device && !device->info().imageSupport_) { - LogPrintfError("Image is not supported on device %p", device); - return hipErrorInvalidValue; - } - //avoid size_t overflow for pitch calculation if (width > (std::numeric_limits::max() - device->info().imagePitchAlignment_)) { return hipErrorInvalidValue;