"...sample_apps/deepstream-test4/dstest4_msgconv_config.yml" did not exist on "633cf47f48f62fe44f7aff4eb9e9ad3546f172a5"
Commit d55fdf7b authored by yuguo's avatar yuguo
Browse files

[DCU] fix compile

parent e45d66a3
......@@ -26,6 +26,7 @@ __global__ void __launch_bounds__(1)
} // namespace
#ifndef __HIP_PLATFORM_AMD__
cudaDataType_t get_cuda_dtype(const transformer_engine::DType t) {
using namespace transformer_engine;
switch (t) {
......@@ -43,6 +44,7 @@ cudaDataType_t get_cuda_dtype(const transformer_engine::DType t) {
NVTE_ERROR("Invalid type");
}
}
#endif
void update_tensor_scale_inv(Tensor *t, cudaStream_t stream) {
if (is_fp8_dtype(t->data.dtype) && is_tensor_scaling(t->scaling_mode)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment