Skip to content

Remove intrinsics from allocate statements #803

@sbryngelson

Description

@sbryngelson

Right now, we have intrinsics in allocate statements like this:

@:ALLOCATE(q_cons_buff_send(0:-1 + buff_size*(sys_size + 2*nb*4)* &
                                             & (max(m, n) + 2*buff_size + 1)))

and

@:ALLOCATE(Res(1:2, 1:maxval(Re_size)))

where we have max and maxval.
The relevant quantities should be stored in variables, probably just in m_global_parameters (they can't go in m_constants because they are only known at runtime).

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions