Rewrite linalg.conj to use pycuda's ElementwiseKernel and memoization.