correct implementation for julia -> CL_bool