I have built blender using Visual Studio 2019 and I have found that the blender.exe has issues because there is no support for ROCm on Windows as per the following website link:
But the ROCm devices work properly using Blender exe downloaded from official website.
It looks like the blender source code is NOT equivalent to the downloadable executable provided at official blender website given above
I would like to have the setting which need to be done while building blender source code so that it will have HIP section enabled in /EDIT–>Preferences–> System and AMD ROCM supported devices can be listed for ROCm on Windows.Currently if I build blender and open blender.exe generated after build, then on clicking HIP section in Edit ->Preferences->system the application crashes.
Please help me how to build blender for getting AMD GPU binaries for ROCm.