There are several forum posts recently about CUDA and Julia 1.12, did you check them out? E.g. This one?