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

Method if

src/fastertransformer/th_op/encoder/EncoderOp.h:169–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168#ifdef ENABLE_BF16
169 else if (std::is_same<T, __nv_bfloat16>::value) {
170 cublas_wrapper->setBF16GemmConfig();
171 }
172#endif
173 else if (std::is_same<T, float>::value) {
174 cublas_wrapper->setFP32GemmConfig();

Callers

nothing calls this directly

Calls 2

setBF16GemmConfigMethod · 0.80
setFP32GemmConfigMethod · 0.80

Tested by

no test coverage detected