Skip to content

Commit

Permalink
Fixing compilation issue in embLayerNormPlugin (NVIDIA#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinch-nv authored Dec 3, 2019
1 parent d7dcaf1 commit fb305de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/embLayerNormPlugin/embLayerNormPlugin.cu
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ void EmbLayerNormPluginDynamic::configurePlugin(
assert(inputs[0].desc.type == DataType::kINT32);
assert(inputs[1].desc.type == DataType::kINT32);
assert(inputs[2].desc.type == DataType::kINT32);
assert(outputs[0].desc.type == DataType::kFLOAT || out_type == DataType::kHALF);
assert(outputs[0].desc.type == DataType::kFLOAT || outputs[0].desc.type == DataType::kHALF);
assert(outputs[1].desc.type == DataType::kINT32);
}

Expand Down

0 comments on commit fb305de

Please sign in to comment.