2024-06-04 11:42:22 -07:00
|
|
|
/*
|
|
|
|
|
* Copyright 2024 Intel Corporation
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "dev/intel_device_info.h"
|
|
|
|
|
|
|
|
|
|
void intel_common_update_device_info(int fd, struct intel_device_info *devinfo);
|
2025-06-16 09:55:42 -07:00
|
|
|
|
|
|
|
|
void
|
|
|
|
|
intel_compute_engine_async_threads_limit(const struct intel_device_info *devinfo,
|
|
|
|
|
uint32_t hw_threads_in_wg, bool slm_or_barrier_enabled,
|
|
|
|
|
uint8_t *ret_pixel_async_compute_thread_limit,
|
|
|
|
|
uint8_t *ret_z_pass_async_compute_thread_limit,
|
|
|
|
|
uint8_t *ret_np_z_async_throttle_settings);
|
2025-07-02 17:50:51 -07:00
|
|
|
|
|
|
|
|
int
|
|
|
|
|
intel_compute_threads_group_dispatch_size(uint32_t hw_threads_in_wg);
|