MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / if

Function if

examples/cpp/bert/bert_example.cc:101–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100#ifdef ENABLE_BF16
101 else if (std::is_same<T, __nv_bfloat16>::value) {
102 cublas_wrapper.setBF16GemmConfig();
103 }
104#endif
105 else if (std::is_same<T, float>::value) {
106 cublas_wrapper.setFP32GemmConfig();

Callers

nothing calls this directly

Calls 2

setBF16GemmConfigMethod · 0.80
setFP32GemmConfigMethod · 0.80

Tested by

no test coverage detected