Cocoa framework for GPU utilization