From de53cd190341fc8cf9573a6d166cc9ce521a70c6 Mon Sep 17 00:00:00 2001 From: Vladislav Sytchenko Date: Wed, 28 Jul 2021 11:33:00 -0400 Subject: [PATCH] SWDEV-240806 - Fix Windows build Fixes error "All control paths should return a value". Change-Id: I4718688b55b24862465e15ea0d64b32fa44b3299 --- rocclr/platform/command.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/platform/command.hpp b/rocclr/platform/command.hpp index 31083b6c70..47bc74ac92 100644 --- a/rocclr/platform/command.hpp +++ b/rocclr/platform/command.hpp @@ -925,7 +925,7 @@ class NDRangeKernelCommand : public Command { uint32_t sharedMemBytes() const { return sharedMemBytes_; } //! updates shared memory size - uint32_t setSharedMemBytes(uint32_t sharedMemBytes) { sharedMemBytes_ = sharedMemBytes; } + void setSharedMemBytes(uint32_t sharedMemBytes) { sharedMemBytes_ = sharedMemBytes; } //! Return the cooperative groups mode bool cooperativeGroups() const { return (extraParam_ & CooperativeGroups) ? true : false; }