From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9151FA0506; Wed, 13 Apr 2022 20:23:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6562440694; Wed, 13 Apr 2022 20:23:35 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2044.outbound.protection.outlook.com [40.107.95.44]) by mails.dpdk.org (Postfix) with ESMTP id 5BD504068E for ; Wed, 13 Apr 2022 20:23:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ER1zLv8x+L3Vuq3bFJQ5i2zlh5aHfOfF0vWN2MRhs3/dUqmO6JSaNJnUGbK7O2LpgD3gHRNiN1rkuJdN8jMLJs8RQtk0JTQSX+PzwCey53ufWWFWHljAf1iswwReH9t+wlPlLdpFKo092XdJJZcPGbd2Nxm3TVGe3tMGzEFgCXRURB8/MKXQ8mS6KJSUZeHEkI/HXkh9fgNcp6w1RhMHnFwv4CEt+rPd2DEDpwZzC8Ue4cxwJFB2rs62M7FrhfZbd+CAFPm9NvkM6c5QelmedKiwluqBT9b4lCqkr3IjQ0Js9S7fsnZkFurKOhN7kIGJDa633h6tjEl9ZnIi5FP0pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TcUcczk/zdRoTHBlM+pzMU0XMqM/fycRUrnemgvpcMU=; b=WB3oNDh+TvHywqwuQp4DIOT1+q5Tn6iMburBVtRy7DVxlO7M1yyrvgQDENLoxmZWKNgvY1G3KYqOCwlBjl/2X1Xbsxk3ly2s2REINmnKQ/+X3aeVT3LIf9xtxqdtMC/UymXMzalq6bok6QRlwPyWlnEd6k1A0q9xR03Oper40CzzQ2WebEUXaCkDPrLmhyb+jz+Y/23pfm8/rjEH/+WZeFGsgdPCONoO4TrVqfRXQg9nZDhjqTGpJ7aBbr25xDRpWXfSKy2nYZ0NnFumgXDrQrrovD9uQs4l0xLrrbykhWpAEfuxSWZ6YPOCLj84yUH+fxtrEvgNjLCoE5o0n6bYMw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.238) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TcUcczk/zdRoTHBlM+pzMU0XMqM/fycRUrnemgvpcMU=; b=uZxBRsAltR0iU17t5ySRrQQ5R2qy7XOftnlO6quJa9VP0jp3j5xlu+MVxiQ05UYS1WHW3TTzvfzwMu3BSRkN3s1UupalQqexfz0cBUUFvpsncoqSjifpEAyb+5WVMkJstdN4BNNhPw1eGpe9oZ0yUeFsvcHCNT1jzUiOIUZAaIuZ2W/q5MvHASK8ZJWh9tPpJcM4J86/Ji6eu3AbAwA6yGWtRp+xcWqhamMT55soC3sRDM0iuIRti08UH0UhK0zYYOLNATtDKWX6fNVHyCSIVfueIZNLflybxaxRK2UYHfk6eJxxQdpIFsmnRmVe4KRoGPPBuzZlPSUKLCNjQkPnSg== Received: from DS7PR07CA0005.namprd07.prod.outlook.com (2603:10b6:5:3af::15) by DM6PR12MB3898.namprd12.prod.outlook.com (2603:10b6:5:1c6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Wed, 13 Apr 2022 18:23:29 +0000 Received: from DM6NAM11FT006.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3af:cafe::22) by DS7PR07CA0005.outlook.office365.com (2603:10b6:5:3af::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.18 via Frontend Transport; Wed, 13 Apr 2022 18:23:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.238) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.238 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.238; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.238) by DM6NAM11FT006.mail.protection.outlook.com (10.13.173.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5164.19 via Frontend Transport; Wed, 13 Apr 2022 18:23:29 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL105.nvidia.com (10.27.9.14) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Wed, 13 Apr 2022 18:23:02 +0000 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 13 Apr 2022 11:23:01 -0700 From: To: CC: Elena Agostini Subject: [PATCH] gpu/cuda: add more NVIDIA GPU devices Date: Wed, 13 Apr 2022 17:38:48 +0000 Message-ID: <20220413173848.135080-1-eagostini@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9ef1e486-6ff2-48d1-12dd-08da1d7ab58e X-MS-TrafficTypeDiagnostic: DM6PR12MB3898:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CT7Acw4A/bIRQBhif/kh9RuaCSWzEya0XThW/RIXofComp1R7g1vKxg7FxMGTmVfFmC8K4EKyBlgHnNmVb1PJWc3tm/6g7bz9EYdFZOJHR9Ax2FLhKfhFKsCX8PJdMNzQwuxho09t37lgzXBAE8pjm1Qy2+Dv51HNSu9TO8G3Iro01c4Owe27E2StDERfqmW9zrOFCgaaKo1lin99hGhjFXmsOkHSQfsfpQrJA+zKcJp4KxQpdKUVZKwVdCjZD+hULAlFfex2oDnkKNET0LsUGpBlVZGP/zCQEHF0v+nhISKL9folgQ7R7zgjkPUTloGEHRstXFs+cf9FLDAgXIeSZSMWF1IylZ/yMx1BEahQbwIbcPICuMiv+pQIaP1O1Vy87R/oMzQmSSY2Q+FjBTLL6+oXWwo5BljJiLI28/vhj4CHb49LK0bByyKuyi4xyT2TBjHQl0lT+9pMaLNn/h4234Rc8JDJ7BlCKA1iGxQUTOe6zSd2V18HtODE0RlwRIsb34D/3GPa9cpQSznKbHrmIqSYFSSOnnAtDPvfbO7bojix5pi1mNVrzbNMipTTRFfIdNhzjU/8uPbGVV2xMHwJzb3PH6kg9YkgL5h0k+eVHAA5AdxSfyvh22v7cYiNNUMEl2FAR0hs9eax7qorxBnjIWEkaOjdUyzyZD63BpkYXBL7fOoTL16QV8qnRNqpDjn42ZLeHUhI8OSBDM1T6Fydw== X-Forefront-Antispam-Report: CIP:12.22.5.238; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230001)(4636009)(46966006)(36840700001)(40470700004)(47076005)(6666004)(6286002)(82310400005)(2616005)(1076003)(16526019)(186003)(8936002)(4326008)(426003)(336012)(26005)(8676002)(2876002)(2906002)(70206006)(70586007)(55016003)(107886003)(7696005)(5660300002)(6916009)(316002)(83380400001)(81166007)(356005)(36860700001)(40460700003)(86362001)(508600001)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2022 18:23:29.4299 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9ef1e486-6ff2-48d1-12dd-08da1d7ab58e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.238]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT006.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3898 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Elena Agostini Add more NVIDIA GPU devices to the gpu/cuda driver list compatible with GPUDirect RDMA. Signed-off-by: Elena Agostini --- drivers/gpu/cuda/cuda.c | 173 +++++++++++++++++++++++++++++++------ drivers/gpu/cuda/devices.h | 74 ++++++++++++++++ 2 files changed, 220 insertions(+), 27 deletions(-) create mode 100644 drivers/gpu/cuda/devices.h diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c index 9e87c40603..5b8476ac20 100644 --- a/drivers/gpu/cuda/cuda.c +++ b/drivers/gpu/cuda/cuda.c @@ -16,6 +16,7 @@ #include #include "common.h" +#include "devices.h" #define CUDA_DRIVER_MIN_VERSION 11040 #define CUDA_API_MIN_VERSION 3020 @@ -53,24 +54,6 @@ static unsigned int cuda_api_version; static int cuda_driver_version; static gdr_t gdrc_h; -/* NVIDIA GPU vendor */ -#define NVIDIA_GPU_VENDOR_ID (0x10de) - -/* NVIDIA GPU device IDs */ -#define NVIDIA_GPU_A100_40GB_DEVICE_ID (0x20f1) -#define NVIDIA_GPU_A100_80GB_DEVICE_ID (0x20b5) -#define NVIDIA_GPU_A100_80GB_DPU_DEVICE_ID (0x20b8) - -#define NVIDIA_GPU_A30_24GB_DEVICE_ID (0x20b7) -#define NVIDIA_GPU_A30_24GB_DPU_DEVICE_ID (0x20b9) -#define NVIDIA_GPU_A10_24GB_DEVICE_ID (0x2236) - -#define NVIDIA_GPU_V100_32GB_SXM_DEVICE_ID (0x1db5) -#define NVIDIA_GPU_V100_32GB_PCIE_DEVICE_ID (0x1db6) -#define NVIDIA_GPU_V100_16GB_DEVICE_ID (0x1db4) - -#define NVIDIA_GPU_T4_16GB_DEVICE_ID (0x1eb8) - #define CUDA_MAX_ALLOCATION_NUM 512 #define GPU_PAGE_SHIFT 16 @@ -82,31 +65,79 @@ RTE_LOG_REGISTER_DEFAULT(cuda_logtype, NOTICE); static const struct rte_pci_id pci_id_cuda_map[] = { { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, - NVIDIA_GPU_A100_40GB_DEVICE_ID) + NVIDIA_GPU_A40_DEVICE_ID) }, { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, - NVIDIA_GPU_A100_80GB_DEVICE_ID) + NVIDIA_GPU_A30_24GB_DEVICE_ID) }, { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, - NVIDIA_GPU_A100_80GB_DPU_DEVICE_ID) + NVIDIA_GPU_A30X_24GB_DPU_DEVICE_ID) }, { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, - NVIDIA_GPU_A30_24GB_DEVICE_ID) + NVIDIA_GPU_A10_24GB_DEVICE_ID) }, { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, - NVIDIA_GPU_A30_24GB_DPU_DEVICE_ID) + NVIDIA_GPU_A10G_DEVICE_ID) }, { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, - NVIDIA_GPU_A10_24GB_DEVICE_ID) + NVIDIA_GPU_A10M_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_A100_40GB_SXM4_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_A100_40GB_PCIE_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_A100_80GB_SXM4_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_A100_80GB_PCIE_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_A100X_80GB_DPU_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_GA100_PG506_207) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_GA100_PCIE) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_GA100_PG506_217) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_V100_16GB_SXM2_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_V100_16GB_DGXS_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_V100_16GB_FHHL_DEVICE_ID) }, { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, - NVIDIA_GPU_V100_32GB_SXM_DEVICE_ID) + NVIDIA_GPU_V100_16GB_PCIE_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_V100_32GB_SXM2_DEVICE_ID) }, { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, @@ -114,11 +145,99 @@ static const struct rte_pci_id pci_id_cuda_map[] = { }, { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, - NVIDIA_GPU_V100_16GB_DEVICE_ID) + NVIDIA_GPU_V100_32GB_DGXS_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_V100_32GB_SXM3_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_V100_32GB_SXM3_H_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_V100_SXM2) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_V100S_PCIE) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_TITAN_V_CEO_ED) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_GV100GL_PG500_216) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_GV100GL_PG503_216) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_TU102_TITAN_RTX) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_TU102GL_QUADRO_RTX) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_GV100_QUADRO_DEVICE_ID) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_4000) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_5000) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_6000) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_8000) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_A4000) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_A6000) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_A5000) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_A4500) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_A5500) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_A2000) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_A2000_12GB) + }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_T4G) }, { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, - NVIDIA_GPU_T4_16GB_DEVICE_ID) + NVIDIA_GPU_T4) }, { .device_id = 0 diff --git a/drivers/gpu/cuda/devices.h b/drivers/gpu/cuda/devices.h new file mode 100644 index 0000000000..7e90502718 --- /dev/null +++ b/drivers/gpu/cuda/devices.h @@ -0,0 +1,74 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright (c) 2022 NVIDIA Corporation & Affiliates + */ + +#ifndef CUDA_DEVICES_H +#define CUDA_DEVICES_H + +/* NVIDIA GPU vendor */ +#define NVIDIA_GPU_VENDOR_ID (0x10de) + +/* NVIDIA GPU device IDs */ + +#define NVIDIA_GPU_A40_DEVICE_ID (0x2235) +#define NVIDIA_GPU_A30_24GB_DEVICE_ID (0x20b7) +#define NVIDIA_GPU_A30X_24GB_DPU_DEVICE_ID (0x20b9) +#define NVIDIA_GPU_A10_24GB_DEVICE_ID (0x2236) +#define NVIDIA_GPU_A10G_DEVICE_ID (0x2237) +#define NVIDIA_GPU_A10M_DEVICE_ID (0x2238) + +#define NVIDIA_GPU_A100_40GB_SXM4_DEVICE_ID (0x20b0) +#define NVIDIA_GPU_A100_40GB_PCIE_DEVICE_ID (0x20b1) +#define NVIDIA_GPU_A100_80GB_SXM4_DEVICE_ID (0x20b2) +#define NVIDIA_GPU_A100_80GB_PCIE_DEVICE_ID (0x20b5) +#define NVIDIA_GPU_A100X_80GB_DPU_DEVICE_ID (0x20b8) + +#define NVIDIA_GPU_GA100_PG506_207 (0x20f0) +#define NVIDIA_GPU_GA100_PCIE (0x20f1) +#define NVIDIA_GPU_GA100_PG506_217 (0x20f2) + +#define NVIDIA_GPU_V100_16GB_SXM2_DEVICE_ID (0x1db1) +#define NVIDIA_GPU_V100_16GB_DGXS_DEVICE_ID (0x1db2) +#define NVIDIA_GPU_V100_16GB_FHHL_DEVICE_ID (0x1db3) +#define NVIDIA_GPU_V100_16GB_PCIE_DEVICE_ID (0x1db4) + +#define NVIDIA_GPU_V100_32GB_SXM2_DEVICE_ID (0x1db5) +#define NVIDIA_GPU_V100_32GB_PCIE_DEVICE_ID (0x1db6) + + + +#define NVIDIA_GPU_V100_32GB_DGXS_DEVICE_ID (0x1db7) +#define NVIDIA_GPU_V100_32GB_SXM3_DEVICE_ID (0x1db8) +#define NVIDIA_GPU_V100_32GB_SXM3_H_DEVICE_ID (0x131d) + +#define NVIDIA_GPU_V100_SXM2 (0x1df5) +#define NVIDIA_GPU_V100S_PCIE (0x1df6) + + +#define NVIDIA_GPU_TITAN_V_CEO_ED (0x12eb) + +#define NVIDIA_GPU_GV100GL_PG500_216 (0x1df0) +#define NVIDIA_GPU_GV100GL_PG503_216 (0x1df2) + +#define NVIDIA_GPU_TU102_TITAN_RTX (0x1e02) +#define NVIDIA_GPU_TU102GL_QUADRO_RTX (0x1e78) + +#define NVIDIA_GPU_GV100_QUADRO_DEVICE_ID (0x1dba) +#define NVIDIA_GPU_QUADRO_RTX_4000 (0x1eb1) +#define NVIDIA_GPU_QUADRO_RTX_5000 (0x1eb0) +#define NVIDIA_GPU_QUADRO_RTX_6000 (0x13d9) +#define NVIDIA_GPU_QUADRO_RTX_8000 (0x13d8) +#define NVIDIA_GPU_QUADRO_RTX_A4000 (0x24b0) +#define NVIDIA_GPU_QUADRO_RTX_A6000 (0x2230) +#define NVIDIA_GPU_QUADRO_RTX_A5000 (0x2231) +#define NVIDIA_GPU_QUADRO_RTX_A4500 (0x2232) +#define NVIDIA_GPU_QUADRO_RTX_A5500 (0x2233) +#define NVIDIA_GPU_QUADRO_RTX_A2000 (0x2531) +#define NVIDIA_GPU_QUADRO_RTX_A2000_12GB (0x2571) + +#define NVIDIA_GPU_T4G (0x1eb4) +#define NVIDIA_GPU_T4 (0x1eb8) + +/* Quadro */ + +#endif /* CUDA_DEVICES_H */ -- 2.25.1