improved atl-ocl support (close #172)