Convert CPU version from C to C++ for consistency