It appears that CUDA Fortran allows the use of allocatable arrays. Meanwhile in CUDA C++, std::vector is not allowed. This seems like a nice strength of CUDA Fortran.
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Allocation of variable of a type containing an allocatable array | 7 | 177 | March 18, 2024 | |
How can I introduce an allocatable array which allocate in subroutine? | 5 | 2502 | January 25, 2021 | |
Best practice of allocating memory in Fortran? | 19 | 6039 | May 1, 2022 | |
Bug in AMD Fortran or linked list program? | 5 | 522 | October 30, 2023 | |
Arbitrary sized array | 19 | 1083 | June 13, 2020 |