forked from unioslo/USTB
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode.m
More file actions
29 lines (28 loc) · 984 Bytes
/
Copy pathcode.m
File metadata and controls
29 lines (28 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
classdef code < int32
%CODE Enumeration for selecting the beamformer implementation
%
% CODE specifies which implementation of the DAS beamformer to use.
%
% Values:
% code.matlab Pure MATLAB implementation
% code.mex MEX C implementation (default, faster)
% code.matlab_gpu MATLAB GPU implementation
% code.mex_gpu MEX CUDA GPU implementation
%
% Example:
% mid = midprocess.das();
% mid.code = code.matlab;
%
% See also MIDPROCESS.DAS, DIMENSION
%
% authors: Alfonso Rodriguez-Molares <alfonso.r.molares@ntnu.no>
% Stefano Fiorentini <stefano.fiorentini@ntnu.no>
%
% $Last Update: 01/02/2023 $
enumeration
matlab(0) % Pure MATLAB implementation
mex(1) % MEX C implementation
matlab_gpu(3) % MATLAB GPU implementation
mex_gpu(4) % MEX CUDA GPU implementation
end
end