SWDEV-240806 - Fix Windows build

Fixes error "All control paths should return a value".

Change-Id: I4718688b55b24862465e15ea0d64b32fa44b3299


[ROCm/clr commit: de53cd1903]
Cette révision appartient à :
Vladislav Sytchenko a créé et Maneesh Gupta a révisé 2021-08-22 23:56:08 -07:00
1 Parent 4a2da6ea45
révision 1560d8d6fe
1 fichier modifié
+1 -1
+1 -1
Voir le fichier
@@ -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; }