Skip to content

Commit

Permalink
Merge pull request cupy#8530 from kmaehashi/fix-header-detection-conda
Browse files Browse the repository at this point in the history
Fix cudart header detection for conda
  • Loading branch information
asi1024 authored and chainer-ci committed Aug 21, 2024
1 parent 87bd648 commit 89d8fa0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cupy/_core/core.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2237,8 +2237,7 @@ cpdef tuple assemble_cupy_compiler_options(tuple options):
wheel_dir_count = len(
_environment._get_include_dir_from_conda_or_wheel(
major, minor))
assert 0 <= wheel_dir_count <= 1
_headers_from_wheel_available = (wheel_dir_count == 1)
_headers_from_wheel_available = (0 < wheel_dir_count)

if (_bundled_include is None and
_cuda_path is None and
Expand Down

0 comments on commit 89d8fa0

Please sign in to comment.