code for a GPUDirac server