Skip to content

Commit

Permalink
Merge pull request #8200 from leofang/jitify_cc70
Browse files Browse the repository at this point in the history
Fix jitify warmup kernel
  • Loading branch information
kmaehashi committed Feb 28, 2024
2 parents 2fcc6d4 + 4f06252 commit 20ccd63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cupy/cuda/jitify.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ cdef extern from 'cupy_jitify.h' namespace "jitify::detail" nogil:
# users.
cdef extern from *:
"""
const int build_num = 2;
const int build_num = 3;
"""
const int build_num

Expand Down Expand Up @@ -139,7 +139,10 @@ cdef str warmup_kernel = r"""cupy_jitify_exercise
#include <cub/block/block_reduce.cuh>
#include <cub/block/block_load.cuh>
#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ >= 700
// not supported before CC 7.0
#include <cuda/barrier>
#endif
#include <cooperative_groups.h>
#include <cooperative_groups/memcpy_async.h>
Expand Down

0 comments on commit 20ccd63

Please sign in to comment.