OpenCL printf final digest value is wrong
#2
i found the solution to this. The optimized kernel stops at the second last step of sha256. The final step is to add the initial values of the start of the message shedule. If you add the contant value SHA256M_A to a (SHA256M_A + a) you will get the right value.
Reply


Messages In This Thread
RE: OpenCL printf final digest value is wrong - by 465w54e5 - 02-22-2022, 09:06 PM