2PARMA: Parallel Paradigms and Run-time Management Techniques for Many-core Architectures.