Fix architecture check in fusion API (#2131)
Fix architecture check in fusion API (#2131)

* add missing check to fusion plan compile and execute
* fix logical operator
* fix comparison

ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen