SWDEV-292547 - Fix Windows build
This addresses the warning `not all control paths return a value`. Change-Id: Ibbb5eda9758dca5cc94c8efba9bbc6910362d6ba
Este cometimento está contido em:
@@ -348,7 +348,7 @@ extern int ihipGetDevice();
|
||||
extern hipError_t ihipMalloc(void** ptr, size_t sizeBytes, unsigned int flags);
|
||||
extern amd::Memory* getMemoryObject(const void* ptr, size_t& offset);
|
||||
extern amd::Memory* getMemoryObjectWithOffset(const void* ptr, const size_t size);
|
||||
extern hipError_t getStreamPerThread(hipStream_t& stream);
|
||||
extern void getStreamPerThread(hipStream_t& stream);
|
||||
|
||||
constexpr bool kOptionChangeable = true;
|
||||
constexpr bool kNewDevProg = false;
|
||||
|
||||
@@ -294,7 +294,7 @@ public:
|
||||
thread_local stream_per_thread streamPerThreadObj;
|
||||
|
||||
// ================================================================================================
|
||||
hipError_t getStreamPerThread(hipStream_t& stream) {
|
||||
void getStreamPerThread(hipStream_t& stream) {
|
||||
if (stream == hipStreamPerThread) {
|
||||
stream = streamPerThreadObj.get();
|
||||
}
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador