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

Function if

examples/cpp/swin/swin_example.cc:53–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52#ifdef ENABLE_BF16
53 else if (std::is_same<T, __nv_bfloat16>::value) {
54 cublas_wrapper->setBF16GemmConfig();
55 }
56#endif
57 else if (std::is_same<T, float>::value) {
58 cublas_wrapper->setFP32GemmConfig();

Callers

nothing calls this directly

Calls 2

setBF16GemmConfigMethod · 0.80
setFP32GemmConfigMethod · 0.80

Tested by

no test coverage detected