High-level language compilers for heterogeneous accelerators