Random values from NVML functions

Ty Young youngty1997 at gmail.com
Wed May 13 23:00:13 UTC 2020


Hi,


Currently I'm getting random values[1] from this NVML function[2]. I've 
spent a few hours dumping sizes and re-checking my abstraction layer 
code in order to figure out why it's doing this but am not seeing 
anything. I'm wondering if there ware any recent bug fixes in FMA that 
might cause this that were fixed. If not I'm going to have to try asking 
on the Nvidia forums.


For reference, the function binding can be found here:


https://github.com/BlueGoliath/java-nvidia-bindings/blob/master/modules/org.goliath.bindings.nvml/src/main/java/org/goliath/bindings/nvml/main/nvml_h.java#L426


and the abstraction layer here:


https://github.com/BlueGoliath/Crosspoint/tree/master/src/main/java/org/goliath/crosspoint


I'm able to read/write other structs just fine, such as:


https://github.com/BlueGoliath/java-nvidia-bindings/blob/master/modules/org.goliath.bindings.nvctrl/src/main/java/org/goliath/bindings/nvctrl/structs/NVCTRLAttributeValidValuesRec.java


and again, all byte sizes seem correct(48 bytes for the NVML struct), so 
I'm really lost here.



[1] https://imgur.com/a/wrQtOXq

[2] 
https://docs.nvidia.com/deploy/nvml-api/group__nvmlGridQueries.html#group__nvmlGridQueries_1gb0ea5236f5e69e63bf53684a11c233bd



More information about the panama-dev mailing list