Skip to content

Commit ae75151

Browse files
aduranggithub-actions[bot]
authored andcommitted
Automerge: [OFFLOAD] Fix typo in assert (#152316)
Fixes an issue introduced by PR llvm/llvm-project#143491.
2 parents 8341968 + f092b82 commit ae75151

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)