Improving workload balance and code optimization in processor-in-memory systems | IEEE Conference Publication | IEEE Xplore