Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

includes: Update NVAPI headers to R570 #260

Merged
merged 3 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/nvapi_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@
#undef __NVAPI_EMPTY_SAL
#include "nvapi_lite_salend.h"

// TODO: Remove those once they are part of NVAPI headers
#define NV_GPU_ARCHITECTURE_GB200 (NV_GPU_ARCHITECTURE_ID)0x000001B0
#define NV_GPU_ARCH_IMPLEMENTATION_GB202 (NV_GPU_ARCH_IMPLEMENTATION_ID)0x00000002

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
Expand Down
4 changes: 2 additions & 2 deletions tests/nvapi_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ static std::string ToGpuArchitecture(NV_GPU_ARCHITECTURE_ID id) {
case NV_GPU_ARCHITECTURE_GF110:
return "Fermi";
default:
if (id > NV_GPU_ARCHITECTURE_AD100)
return "Post-Ada";
if (id > NV_GPU_ARCHITECTURE_GB200)
return "Post-Blackwell";
else
return "Pre-Fermi";
}
Expand Down
2 changes: 1 addition & 1 deletion version.h.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma once

#define NVAPI_VERSION "r565"
#define NVAPI_VERSION "r570"
#define DXVK_NVAPI_VERSION "@VCS_TAG@"