OverLordGoldDragon / ssqueezepy

Synchrosqueezing, wavelet transforms, and time-frequency analysis in Python
MIT License
636 stars 96 forks source link

Depracated cupy function call. #103

Closed tkumpumak closed 6 months ago

tkumpumak commented 6 months ago

This line no longer works on recent cupy. If replaced with kernel_code = cp.RawModule(code=code) it works. But I have no idea if the caching behaviour will be the same.

https://github.com/OverLordGoldDragon/ssqueezepy/blob/5744af1ece6d2b68e818893edd2806f4c1ace4f4/ssqueezepy/utils/gpu_utils.py#L20

OverLordGoldDragon commented 6 months ago

Thanks for the report and the suggestion. RawModule is appropriate. Fixed and released.