c
struct kfd_hsa_memory_exception_data *exception_data = calloc(1, sizeof(struct kfd_hsa_memory_exception_data));
if (exception_data == NULL) {
    // Handle allocation failure
    return;
}
// Remember to free(exception_data) when done
