Skip to content

Commit 0ff790f

Browse files
Remove redundant asserts in umfMemspace*Init
1 parent fc7b481 commit 0ff790f

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/memspaces/memspace_highest_bandwidth.c

-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ static void umfMemspaceHighestBandwidthInit(void) {
105105
LOG_DEBUG(
106106
"Creating the highest bandwidth memspace failed with the error: %u",
107107
ret);
108-
assert(ret == UMF_RESULT_ERROR_NOT_SUPPORTED);
109108
}
110109
}
111110

src/memspaces/memspace_lowest_latency.c

-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ static void umfMemspaceLowestLatencyInit(void) {
101101
LOG_DEBUG(
102102
"Creating the lowest latency memspace failed with the error: %u",
103103
ret);
104-
assert(ret == UMF_RESULT_ERROR_NOT_SUPPORTED);
105104
}
106105

107106
#if defined(_WIN32) && !defined(UMF_SHARED_LIBRARY)

0 commit comments

Comments
 (0)