Memory and Communication Profiling for Accelerator-Based Platforms