Issue: function is not implemented (not handling nullptr and invalid device cases)
Solution: implemented function hipDeviceGetDefaultMemPool to handle nullptr case and invalid device case, while still always returning hipErrorNotSupported
Unit_hipDeviceGetMemPool_Negative_Parameters
Issue: function is not implemented (not handling nullptr and invalid device cases)
Solution: implemented function hipDeviceGetMemPool to handle nullptr case and invalid device case, while still always returning hipErrorNotSupported
Unit_hipGraphClone_Negative
Issue: no handling of the nullptr cases
Solution: Added nullptr check in CHIPBindings.cc, function hipGraphClone
Unit_HipDeviceGetCacheConfig_Negative_Parameters
Issue: incorrect handling of nullptr case – it used NULLCHECK macro which returned “hipErrorInvalidHandle” instead of “hipErrorInvalidValue”
Solution: Added manual nullptr check in CHIPBindings.cc, function hipDeviceGetCacheConfig
Unit_hipDeviceGetDefaultMemPool_Negative_Parameters
Issue: function is not implemented (not handling nullptr and invalid device cases)
Solution: implemented function hipDeviceGetDefaultMemPool to handle nullptr case and invalid device case, while still always returning hipErrorNotSupported
Unit_hipDeviceGetMemPool_Negative_Parameters
Issue: function is not implemented (not handling nullptr and invalid device cases)
Solution: implemented function hipDeviceGetMemPool to handle nullptr case and invalid device case, while still always returning hipErrorNotSupported
Unit_hipDeviceGetSharedMemConfig_Negative_Parameters
Issue: incorrect handling of nullptr case – it used NULLCHECK macro which returned “hipErrorInvalidHandle” instead of “hipErrorInvalidValue”
Solution: Added manual nullptr check in function hipDeviceGetSharedMemConfig
Unit_hipDeviceGetUuid_Negative
Issue: function is not implemented (not handling nullptr and invalid device cases)
Solution: implemented function hipDeviceGetUuid to handle nullptr case and invalid device case, while still always returning hipErrorNotSupported
Unit_hipDeviceSetMemPool_Negative_Parameters
Issue: does not accept getDefaultMemPool not supported
Solution: might need change of test
Unit_hipDriverGetVersion_Negative
Issue: no handling of nullptr case
Solution: added nullptr check
New Issue: mismatch between expected value and returned value (400==1)
Solution: not sure where hipErrorInvalidHandle is being returned so need to investigate further.