Skip to content

Commit

Permalink
Merge pull request cupy#8923 from jakirkham/drop_unneeded_bytes_copy
Browse files Browse the repository at this point in the history
Drop unneeded `bytes` copy of `CUPY_CACHE_KEY`
  • Loading branch information
kmaehashi authored and chainer-ci committed Feb 13, 2025
1 parent 0ecdc5d commit 9c3e5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cupy/_core/core.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ cdef extern from *:
const char* cupy_cache_key # set at build time


CUPY_CACHE_KEY = bytes(cupy_cache_key).decode()
CUPY_CACHE_KEY = cupy_cache_key.decode()


# If rop of cupy.ndarray is called, cupy's op is the last chance.
Expand Down

0 comments on commit 9c3e5a4

Please sign in to comment.