fixed dtype bug; test_sim_ocl runs and fails