From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id E0F9D461F1 for ; Tue, 9 May 2023 10:24:24 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D1C7268C222; Tue, 9 May 2023 13:24:20 +0300 (EEST) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id ED90868C21B for ; Tue, 9 May 2023 13:24:13 +0300 (EEST) Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-50bc456cc39so8595128a12.1 for ; Tue, 09 May 2023 03:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rcombs.me; s=google; t=1683627853; x=1686219853; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=FxdFCvEeYN98XqvDIiJFoyTuDqGWtYIJK0wuDSJ0Vkw=; b=eDYAjt498j3ptdKxXdCw6B/Yk5M6Tw5cdnu29RpDagw65bpPN65qoLvxlRe4N1SAt9 AbGxVG9i3DP5V1tjPnpRJHqAplFZwXYFRVi3CZmNBRTYqILkzA29Ce6YY5nFT1KsJ1m1 QBPydKLkn+6JnGoIZQQHMB5bd9PWYsQXbGIiQie/6RUnfjGlepoldrpZcQ8q3t+jykw4 sGLa/9iqfP3SGFQNdAzQwjbzli9WS9UbBts/LMQ+iNkJOFoYhntX3HEJPVPY/vYQOhxi +dJYkOHPesUGtbeaT6yRhEN3DkFg+T72dqqTW9LHhKVgQlQN1t1Qowpc3xGdM7qOutaz aiqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683627853; x=1686219853; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FxdFCvEeYN98XqvDIiJFoyTuDqGWtYIJK0wuDSJ0Vkw=; b=GAgSUQjWKQsNhZHZSh1iV7iH7oaJOAveBliLZyUhlN98WgXL4vLiTsuJKBZopstu5U BDFdTXEYsSb/D00Z2S/+UZHVTUPKVatv1WgitKP0YahvRTFvCRO5sZlfuHwxEf7u/S5e 8Hm0AiPd9SxL/CJCqX4gVGZ0jkmKgkH0K9PaBIvMkptApKYUeJ/JHOl1/mLxtgkVO4i0 jsPTyQ37xc13xKEud6r9NhFwjVgAAkKhwQAv69EfSLcv+rPtaEsopYxfBzmOyqi3o8V+ sRysrrXi7VUqdjuXmXMEU+uKLZv4HOChjh6FW1L8UZzi1w7YX+wCDavb11EaJ7qg0Bq1 X2/w== X-Gm-Message-State: AC+VfDzwzZ5eqbkGYsluNKT6AuRlfkPB6D+e64Hn6eBEMmUdEMkKhQit 81eOI+0DhnDoeFQEPjOhxDMA/tC0X0iy2U53OaSolyc= X-Google-Smtp-Source: ACHHUZ5bn1YM4QwWzblClI6h8VwjBTfeoJNmYx8JN+HmnsWnze/cQDtaWP4aAEUhVcCN6BfLBj0fLA== X-Received: by 2002:aa7:d7d1:0:b0:506:c231:95ac with SMTP id e17-20020aa7d7d1000000b00506c23195acmr11319432eds.16.1683627852844; Tue, 09 May 2023 03:24:12 -0700 (PDT) Received: from smtpclient.apple ([213.61.193.178]) by smtp.gmail.com with ESMTPSA id b17-20020aa7c6d1000000b004fd1ee3f723sm613439eds.67.2023.05.09.03.24.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 May 2023 03:24:12 -0700 (PDT) From: Ridley Combs Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Date: Tue, 9 May 2023 12:24:01 +0200 References: <20230509101120.61759-1-rcombs@rcombs.me> <52930e8a-a0e2-8e5b-d61e-f8e08ecc980a@rothenpieler.org> To: ffmpeg-devel In-Reply-To: <52930e8a-a0e2-8e5b-d61e-f8e08ecc980a@rothenpieler.org> Message-Id: <4791948B-203E-4F55-B1FE-CDE783D65BDA@rcombs.me> X-Mailer: Apple Mail (2.3731.500.231) Subject: Re: [FFmpeg-devel] [PATCH] Add functions to identify devices in more ways X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: > On May 9, 2023, at 12:16, Timo Rothenpieler wrote: > > On 09/05/2023 12:11, rcombs wrote: >> - cuDeviceGetUuid_v2, giving distinct IDs for different MIG instances >> - cuDeviceGetLuid, giving a Win32 LUID to match with DXGI and other APIs >> - cuDeviceGetByPCIBusId, retrieving a device that matches a PCI bus ID string >> - cuDeviceGetPCIBusId, giving a PCI bus ID string for a device > > Looks good to me. What do you need those for? > Interop with D3D1x/Vulkan? I'm fetching device lists with DXGI (windows) or libdrm (linux); these functions seem to be the best way to correlate devices with those APIs. Probably also useful for D3D/Vk interop, though; particularly the v2 UUID function, as my guess is that the Vk interop code is probably broken in MIG mode right now. Would appreciate seeing this backported to the 11.x branches; it applies cleanly. > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".