added function to get event profiling information
added create_compute_context_prefer