Skip to content

fix compatibility with dgl and cuda 12.0+#102

Open
chamikasudusinghe wants to merge 1 commit into
uwsampl:mainfrom
chamikasudusinghe:main
Open

fix compatibility with dgl and cuda 12.0+#102
chamikasudusinghe wants to merge 1 commit into
uwsampl:mainfrom
chamikasudusinghe:main

Conversation

@chamikasudusinghe
Copy link
Copy Markdown

SparseTIR failed to compile CUDA kernels when using CUDA 12.0 or newer. This was because CUDA 12.0 added several half-precision math functions (htanh, htan, etc.) that SparseTIR was already defining itself as a workaround for older CUDA versions (I was previously using with CUDA 11.7). Hence, having two definitions of the same function caused a compile error. This fix removes duplicate definitions.

DGL 2.x removed adj_sparse() in favour of adj_tensors().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant