Loader support for SRAM ECC.

Change-Id: I0c6791c356d9186cc8dabae9fd698b1d4de19b09


[ROCm/ROCR-Runtime commit: 3c3db0243e]
Este cometimento está contido em:
Sean Keely cometeu 2019-02-25 18:30:05 -05:00
1 ascendente f7dbaf103b
cometimento 8b90c223ac
8 ficheiros modificados
+62 -35

Não existem ficheiros que correspondam à sua pesquisa

@@ -108,7 +108,7 @@ bool IsAccessibleMemoryAddress(uint64_t address)
int32_t random_fd = 0;
ssize_t bytes_written = 0;
if (-1 == (random_fd = open("/dev/random", O_WRONLY))) {
return false;
return true; // Skip check if /dev/random is not available.
}
bytes_written = write(random_fd, (void*)address, 1);
if (-1 == close(random_fd)) {