Total Steps 3:
1. In the plugin, 3 Interface need support FP16
2. Use cuda_fp16.h to write Kernel Function
3. Use FP16 in the Engine
===========================================
1. In the plugin, 3 Interface need support FP16
class FCPlugin : public nvinfer1::IPluginExt
{
public:
...
bool supportsFormat(nvinfer1::DataType type, nvinfer1::PluginFormat format) const override
{
int device;
CHECK(cudaGetDevice(&device));
cudaDeviceProp props{};
cudaGetDeviceProperties(&props, device);
int smVersion = props.major << 8 | props.minor;
// Half p