Skip to main content
Fig. 2 | Visual Computing for Industry, Biomedicine, and Art

Fig. 2

From: Optimizing photoacoustic image reconstruction using cross-platform parallel computation

Fig. 2

Example process flow of the heterogeneous computing. In this figure, we create a sample MEXCUDA function for calculating the radius matrix of a scanned region to each transducer elements. The host code (CPU) is in charge of initialization and finalization blocks such as reading the input from MATLAB, performing condition checks, and allocating memory for input and output data. Device code in GPU is responsible for computing the radius matrix in parallel from required inputs (parallel computation block)

Back to article page