Change Device and Platform organization, take care no more of device type (CPU, GPU, ACC)