data transformer for cuda