pyxis-roc / gpu-api-interposer

GPU API interposer generation tools plus libcuda (CUDA Device API) and libcudart (CUDA Runtime API) interposers. Also includes harmonv, for now.
2 stars 0 forks source link

Add EIATTRs found in global .nv.info section to per-function dict #17

Open bavalpey opened 3 years ago

bavalpey commented 3 years ago

EIATTR_MAX_STACK_SIZE, EIATTR_MIN_STACK_SIZE, EIATTR_REGCOUNT, and EIATTR_FRAME_SIZE need to be added to the yaml file produced by gen_xlat_metadata.py. These attributes reside in a .nv.info section with a blank function name. The data includes the index into the section section table that contains the name of the function to which the information applies. This should be handled and added to that function's 'fn_info' dictionary.