Skip to content

Commit fb305de

Browse files
authored
Fixing compilation issue in embLayerNormPlugin (#248)
1 parent d7dcaf1 commit fb305de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/embLayerNormPlugin/embLayerNormPlugin.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ void EmbLayerNormPluginDynamic::configurePlugin(
376376
assert(inputs[0].desc.type == DataType::kINT32);
377377
assert(inputs[1].desc.type == DataType::kINT32);
378378
assert(inputs[2].desc.type == DataType::kINT32);
379-
assert(outputs[0].desc.type == DataType::kFLOAT || out_type == DataType::kHALF);
379+
assert(outputs[0].desc.type == DataType::kFLOAT || outputs[0].desc.type == DataType::kHALF);
380380
assert(outputs[1].desc.type == DataType::kINT32);
381381
}
382382

0 commit comments

Comments
 (0)