mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
nak: disable imma 8x8x16 on Blackwell+
It's not supported anymore Fixes:669c8a5145("nvk: Advertise VK_KHR_cooperative_matrix") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36163> (cherry picked from commitda61149b2a)
This commit is contained in:
parent
264ff0528c
commit
7f32e1c4bd
2 changed files with 17 additions and 15 deletions
|
|
@ -3274,7 +3274,7 @@
|
|||
"description": "nak: disable imma 8x8x16 on Blackwell+",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "669c8a51452e484c45e28a7014ea49590a4a7ee3",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
#include "clc797.h"
|
||||
#include "clc6c0.h"
|
||||
#include "clc997.h"
|
||||
|
||||
#include "clcdc0.h"
|
||||
static uint32_t
|
||||
nvk_get_vk_version(const struct nv_device_info *info)
|
||||
{
|
||||
|
|
@ -1796,20 +1796,22 @@ nvk_GetPhysicalDeviceCooperativeMatrixPropertiesKHR(VkPhysicalDevice physicalDev
|
|||
if (result_type == VK_COMPONENT_TYPE_UINT32_KHR && sat)
|
||||
continue;
|
||||
|
||||
vk_outarray_append_typed(VkCooperativeMatrixPropertiesKHR, &out, p)
|
||||
{
|
||||
*p = (struct VkCooperativeMatrixPropertiesKHR){
|
||||
.sType = VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_KHR,
|
||||
.MSize = 8,
|
||||
.NSize = 8,
|
||||
.KSize = 16,
|
||||
.AType = input_type_ab,
|
||||
.BType = input_type_ab,
|
||||
.CType = result_type,
|
||||
.ResultType = result_type,
|
||||
.saturatingAccumulation = sat,
|
||||
if (pdev->info.cls_compute < BLACKWELL_COMPUTE_A) {
|
||||
vk_outarray_append_typed(VkCooperativeMatrixPropertiesKHR, &out, p)
|
||||
{
|
||||
*p = (struct VkCooperativeMatrixPropertiesKHR){
|
||||
.sType = VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_KHR,
|
||||
.MSize = 8,
|
||||
.NSize = 8,
|
||||
.KSize = 16,
|
||||
.AType = input_type_ab,
|
||||
.BType = input_type_ab,
|
||||
.CType = result_type,
|
||||
.ResultType = result_type,
|
||||
.saturatingAccumulation = sat,
|
||||
.scope = VK_SCOPE_SUBGROUP_KHR
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
if (pdev->info.cls_compute >= AMPERE_COMPUTE_A) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue