Passring arrays from cuda kernel to OpenGL shader


I’m looking for the fastest way to pass an array of 20 floating points which I’ve calculated on CUDA kernel to an OpenGL shader. Can anyone help me with some idea how this is possible? since it’s not a big array, is it better to transfer it to CPU and then transfer it back to GPU or can I directly transfer this array to shader?