Accelerator Programming Library in C++