CUfileDescr_t(3)

πŸ’… CUfileDescr_t(3) πŸ’…

ok so bestie, welcome to the Library Functions Manual ✨ β€” this is the page for CUfileDescr_t, and honestly? it's a lil one. it's giving "short but essential" vibes fr fr. let's get into it 🫢


🌸 NAME 🌸

CUfileDescr_t β€” that's it, that's the name, no cap πŸ’…


✨ SYNOPSIS ✨

first things first, you gotta pull in the header, like:

#include <cufile.h>

πŸŽ€ Data Fields πŸŽ€

ok so this struct has these fields, all iconic in their own way πŸ‘‘

  • const CUfileFSOps_t * fs_ops
  • union { ... } handle β€” and inside that union lives:
    • int fd
    • void * handle
  • enum CUfileFileHandleType type

and yes the union is literally laid out like this in the docs, character for character, don't come for me 😭

union {
   int fd
   void * handle
} handle

πŸ¦‹ Field Documentation πŸ¦‹

πŸ’œ int CUfileDescr_t::fd

the fd field, scoped to CUfileDescr_t. it's right there, living its truth πŸ’…

🌈 const CUfileFSOps_t* CUfileDescr_t::fs_ops

the fs_ops field, typed const CUfileFSOps_t*, scoped to CUfileDescr_t. periodt ✨

πŸ“ void* CUfileDescr_t::handle

the handle field, typed void*, scoped to CUfileDescr_t. a whole void pointer, main character energy tbh πŸ”₯

🧚 union { ... } CUfileDescr_t::handle

the anonymous union itself, scoped to CUfileDescr_t and also named handle β€” yes both the union and the pointer inside get the handle name, that's just how it is bestie πŸ™ˆ

πŸ‘‘ enum CUfileFileHandleType CUfileDescr_t::type

the type field, typed enum CUfileFileHandleType, scoped to CUfileDescr_t. slay πŸ’€


⭐ Author ⭐

it was generated automatically by Doxygen for GPUDirect Storage from the source code. not a human, not a group chat, just Doxygen doing its thing πŸ€–πŸ’–


ngl, this page is mostly field names and vibes β€” but every single one of them is here, so you're covered bestie 🫢

ok that's the whole thing!! huge shoutout to GPUDirect Storage, and this little beauty is dated Wed Mar 13 2024 🌸 mwah, go forth and use your struct πŸ’…βœ¨

πŸ“¦ where this page comes from