2c456ea6b7
- detect cycle and return error
- check whether cycle is resolved by removing edge
- remove egde from graph check for cycle and correct operation
Change-Id: I8fdab97c8fab6a66b252944f3db04d008bc68aaa
[ROCm/hip-tests commit: c24c6674ae]