NvEncSharp icon indicating copy to clipboard operation
NvEncSharp copied to clipboard

Curiosity for updating cuda to 12.8

Open Revan1985 opened this issue 1 year ago • 1 comments

Hi, I have a simple question, if possible. I am trying to update the nvidia code to 12.8, but I saw that files are generated from different generators. What are you using to create the NvEncSharp lib?

Best regards

Revan1985 avatar Mar 04 '25 11:03 Revan1985

It has been a while since I've used them, but from what I recall, the generation is partially manual/partially automated.

There's several test methods such as GenerateStructs (I think you want to look for uses of WriteNvencHeaderOutput)

  • They're very scrappy
  • They're not real parsers. They were designed as automated regex processors who's scope kept ticking up.
  • YMMV

If you do get a nice clean change on these, please feel free to open a PR :)

jlennox avatar Mar 04 '25 16:03 jlennox