question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Precedence of selecting from multiple exchange protocols?

See original GitHub issue

I conceive that a few libraries may end up in a situation where more than one protocols are supported, for example,

  • __array_interface__
  • __cuda_array_interface__
  • Python buffer protocol
  • DLPack

Does it matter which protocol an array implementation should try first? Is it up to the library implementors?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
leofangcommented, Jul 26, 2021

Given this doesn’t seem to be an issue anymore, I’m closing it. Just FYI: In mpi4py we try in this order: buffer protocol -> DLPack -> CAI.

1reaction
rgommerscommented, Mar 27, 2021

The order is:

  1. buffer protocol
  2. __array_interface__
  3. __array__
Read more comments on GitHub >

github_iconTop Results From Across the Web

BGP Best Path Selection Algorithm - Cisco
This document describes the function of the Border Gateway Protocol (BGP) best path algorithm. BGP routers typically receive multiple paths ...
Read more >
Search - Foreign Affairs Manual - Department of State
If precedence must be determined among a group of U.S. officials, military and civilian, salary is probably the best criterion available.
Read more >
Outlook 2016 implementation of Autodiscover
This article is scoped to describe the detailed steps that Outlook uses for Autodiscover attempts to obtain the MAPI-based protocols from Exchange. References....
Read more >
Configuring priority flow control - IBM
You can configure a priority tag for each of these traffic classes. The priority tag can be any value 0 - 7. You...
Read more >
About Policy Precedence - WatchGuard Technologies
Automatic Policy Order · Policy specificity · Protocols set for the policy type · Traffic rules of the To list · Traffic rules...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found