cpu version passed valgrind checks with DIC