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

Function if

examples/cpp/gpt/gpt_example.cc:250–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248 }
249#ifdef ENABLE_BF16
250 else if (std::is_same<T, __nv_bfloat16>::value) {
251 cublas_wrapper.setBF16GemmConfig();
252 }
253#endif
254 else if (std::is_same<T, float>::value) {
255 cublas_wrapper.setFP32GemmConfig();

Callers

nothing calls this directly

Calls 2

setBF16GemmConfigMethod · 0.80
setFP32GemmConfigMethod · 0.80

Tested by

no test coverage detected