SWDEV-439637 - Updated to compile with clang compiler
Change-Id: Ib0a8e1cc007f083fb1d1f4363cf89ba76ad3c4f2
[ROCm/clr commit: a1b2cbe44e]
Este commit está contenido en:
cometido por
Anusha Godavarthy Surya
padre
d94f68091f
commit
daf22604af
@@ -232,7 +232,7 @@ hipError_t hipStreamAttachMemAsync(hipStream_t stream, void* dev_ptr,
|
||||
size_t length, unsigned int flags) {
|
||||
HIP_INIT_API(hipStreamAttachMemAsync, stream, dev_ptr, length, flags);
|
||||
// stream can be null, length can be 0.
|
||||
if ((dev_ptr == nullptr)) {
|
||||
if (dev_ptr == nullptr) {
|
||||
HIP_RETURN(hipErrorInvalidValue);
|
||||
}
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user