SuperScientificSoftwareLaboratory / TileSpGEMM

Source code of the PPoPP '22 paper: "TileSpGEMM: A Tiled Algorithm for Parallel Sparse General Matrix-Matrix Multiplication on GPUs" by Yuyao Niu, Zhengyang Lu, Haonan Ji, Shuhui Song, Zhou Jin, and Weifeng Liu.
36 stars 7 forks source link

error:identifier "__builtin_ia32_rndscaless_round" is undefined #4

Open swordzlim opened 1 year ago

swordzlim commented 1 year ago

My environment is that: OS: ubuntu 20.04.1 cuda: 11.5 gcc: 9.4.0 However, I meet the problem with AVX-512 when I run "make": `sh-5.0$ make nvcc -O3 -w -arch=compute_61 -code=sm_86 -gencode=arch=compute_61,code=sm_86 -Xcompiler -fopenmp main.cu -o test -I/usr/local/cuda-11.5/include -L/usr/local/cuda-11.5/lib64 -lcudart -lcusparse -D VALUE_TYPE=double /usr/lib/gcc/x86_64-linux-gnu/9/include/avx512fintrin.h(9146): error: identifier "__builtin_ia32_rndscaless_round" is undefined

/usr/lib/gcc/x86_64-linux-gnu/9/include/avx512fintrin.h(9155): error: identifier "__builtin_ia32_rndscalesd_round" is undefined

/usr/lib/gcc/x86_64-linux-gnu/9/include/avx512fintrin.h(14797): error: identifier "__builtin_ia32_rndscaless_round" is undefined

/usr/lib/gcc/x86_64-linux-gnu/9/include/avx512fintrin.h(14806): error: identifier "__builtin_ia32_rndscalesd_round" is undefined

/usr/lib/gcc/x86_64-linux-gnu/9/include/avx512dqintrin.h(1365): error: identifier "__builtin_ia32_fpclassss" is undefined

/usr/lib/gcc/x86_64-linux-gnu/9/include/avx512dqintrin.h(1372): error: identifier "__builtin_ia32_fpclasssd" is undefined`

VeritasFutureKF commented 1 year ago

I met the same errors.

swordzlim commented 1 year ago

This error is caused by cuda enviromnemt. You can use Docker to deal with this problem.