Skip to content

Commit f092b82

Browse files
authored
[OFFLOAD] Fix typo in assert (#152316)
Fixes an issue introduced by PR #143491.
1 parent 8de4819 commit f092b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

offload/plugins-nextgen/common/src/PluginInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2251,7 +2251,7 @@ GenericPluginTy::create_interop(int32_t ID, int32_t InteropContext,
22512251
int32_t GenericPluginTy::release_interop(int32_t ID,
22522252
omp_interop_val_t *Interop) {
22532253
assert(Interop && "Interop is null");
2254-
assert(Interop->DeviceId == ID && "Interop does not match device id");
2254+
assert(Interop->device_id == ID && "Interop does not match device id");
22552255
auto &Device = getDevice(ID);
22562256
auto Err = Device.releaseInterop(Interop);
22572257
if (Err) {

0 commit comments

Comments
 (0)