`SpecialFunctions.lgamma` is depcrecated in favor of `SpecialFunctions.loggamma` https://github.com/JuliaGPU/CUDA.jl/blob/f68879ac391b10da1ef9df3a4257eb68a76f1d5e/src/device/intrinsics/special_math.jl#L24 We should update the name here.