Skip to content

run tilespgemm in cuda 12.2 #5

@baharmahab

Description

@baharmahab

hi.
I am a student who wants to use your "TileSPGEMM"code.

But unfortunately I am facing this error.

nvcc -O3 -w -arch=compute_61 -code=sm_86 -gencode=arch=compute_61,code=sm_86 -Xcompiler -fopenmp -Xcompiler -mfma main.cu -o test -I/usr/local/cuda-12.2/include -L/usr/local/cuda-12.2/lib64 -lcudart -lcusparse -D VALUE_TYPE=double
/usr/local/cuda-12.2/include/cuda_bf16.hpp(575): error: no instance of overloaded function "__half::__half" matches the specified type
attribute((host)) attribute((device)) inline attribute((always_inline)) __half::__half(const __nv_bfloat16 f)
^

1 error detected in the compilation of "main.cu".
make: *** [Makefile:29: make] Error 2

Can you please guide me? my linux is ubuntu 22.04 and my gpu is GTX 1660 TI. and i have cuda toolkit 12.2

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions