Unverified Commit 744624d0 authored by Edenzzzz's avatar Edenzzzz Committed by GitHub
Browse files

Fix compilation bug with CUDA 12.1 (#949)



* fix compilation
Signed-off-by: default avatarEdenzzzz <wtan45@wisc.edu>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Signed-off-by: default avatarEdenzzzz <wtan45@wisc.edu>

* Fix CUDA 12.1 compilation bug
Signed-off-by: default avatarWenxuan(Eden) Tan <wtan45@wisc.edu>
Signed-off-by: default avatarEdenzzzz <wtan45@wisc.edu>

---------
Signed-off-by: default avatarEdenzzzz <wtan45@wisc.edu>
Signed-off-by: default avatarWenxuan(Eden) Tan <wtan45@wisc.edu>
Co-authored-by: default avatarEdenzzzz <wtan45@wisc.edu>
Co-authored-by: default avatarpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent a4e95e86
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
************************************************************************/ ************************************************************************/
#include <cuda.h> #include <cuda.h>
#include <cuda_fp8.h>
#include <cuda_runtime.h> #include <cuda_runtime.h>
#if __CUDA_ARCH__ >= 800 #if __CUDA_ARCH__ >= 800
...@@ -15,7 +16,6 @@ ...@@ -15,7 +16,6 @@
#endif #endif
#include <assert.h> #include <assert.h>
#include <cuda_fp8.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
......
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