Hi,
I have a quick question about the new kspaceFirstOrder2DG Function which was published with the 1.3 release of kwave. Until now I used kspaceFirstOrder2D with DataCast set to gpuArray-single. To speed up simulations I want to switch to the optimized simulation function and thus tried the kspaceFirstOrder2DG function. I downloaded the compiled binary fdiles and put them into the binary folder of the kwave toolbox.
I wanted to be sure, that both functions return the same simulation result but actually this is not the case. When I compare the simulation results, I get and RMSE of 0.0379 and a global maximum absolut difference of 0.3797.
The deviation is small and the reconstructed b-Mode images look the same, but I wonder if this difference between the simulation results is normal?
The manual says that "not all simulation options are currently supported by the CPU/GPU code. The sensor mask must be given as either a binary matrix or (...). All display parameters are ignored". Are there other restrictions which one should know, when using the optimized code?
(I get the same difference in data when I use kspaceFirstOrder2D with DataCast set to Single and kspaceFirstOrder2DC)