Error encountered while using OpenFoam solver with cuda

I’m working on RapidCFD- an OpenFoam solver that utilizes cuda.

I ran the ‘cavity’ tutorial using the laplacianFoam solver. It ran, printed the output ‘Time=0.01’ but encountered an error after that which stated:

terminate called after throwing an instance of ‘thrust::system::system_error’
what(): cudaEventSynchronize in future::wait: an illegal memory access was encountered
Aborted (core dumped)

What could be the possible reasons behind this error?