mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
fix: add missing return from non-void function
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8b780293e9
commit
a149336ea1
@@ -2310,7 +2310,7 @@ inline uint64_t CommandListCoreFamily<gfxCoreFamily>::getInputBufferSize(NEO::Im
|
||||
driverHandle->setErrorDescription(std::string(str.get()));
|
||||
PRINT_DEBUG_STRING(NEO::debugManager.flags.PrintDebugMessages.get(), stderr, "invalid imageType: %d\n", imageType);
|
||||
UNRECOVERABLE_IF(true);
|
||||
break;
|
||||
return 0;
|
||||
}
|
||||
case NEO::ImageType::image1D:
|
||||
return bufferRowPitch;
|
||||
|
||||
Reference in New Issue
Block a user