I finally figured out the CT electric fields/EMF this week. I spent the first two days reading papers and discussing it with my advisor and then got to implementing the CUDA kernel. I’ve got a first draft of the kernel done but it needs some tweaks and tests before it’s done. As it stands every single slope is written out entirely, effectively duplicating the same slope code 48 times. Next week I plan on writing some tests for this kernel then refactoring it to use device functions so that the code is more easily worked with and clearer.
- Read more of Beck 2015