Skip to content

[Build] Build with cuda11.3, identifier "__hmul2_rn" is undefined  #15840

@181802969

Description

@181802969

Describe the issue

identifier "__hmul2_rn" is undefined

Urgency

No response

Target platform

aarch64, cuda11.3

Build script

./build.sh --use_cuda --cudnn_home /PATH/TO/CUDNN_HOME --cuda_home /PATH/TO/CUDA_HOME --build_shared_lib --enable_pybind --build_wheel --update --build --compile_no_warning_as_error --skip_tests

Error / output

/home/share/cimc/home/lizhongxin/softwares/onnx/onnxruntime/onnxruntime/contrib_ops/cuda/bert/relative_attn_bias_impl.cu(159):
error: identifier "__hmul2_rn" is undefined

I modified the file "relative_attn_bias_impl.cu", and change "__hmul2_rn" to "__huml2_sat" , it seems that this problem is solved。

Visual Studio Version

No response

GCC / Compiler Version

GCC 9.3.0, cuda11.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using templateep:CUDAissues related to the CUDA execution providermodel:transformerissues related to a transformer model: BERT, GPT2, Hugging Face, Longformer, T5, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions