7bcfdf017d
Fixes SWDEV-207362, The output file name should not contribute to picking up the right flags for the compiler. This fix solves issues when the output has conflicting extensions which confuses hipcc to treat them as the source files and add the required flags for them. PS: Output file refers to the file followed by -o Example: hipcc test.o -o test.hip will add the flags for .hip compilation ignoring the fact that it is an output file