-
assigned issue to
cuda_device :: default_alignment() not implemented
Issue #210
resolved
cuda_device::default_alignment() is not implemented as specified:
#include <upcxx/upcxx.hpp>
int main() {
upcxx::init();
std::size_t x = upcxx::cuda_device::default_alignment<int>();
upcxx::finalize();
return 0;
}
defal.cpp: In function 'int main()':
defal.cpp:7:39: error: 'default_alignment' is not a member of 'upcxx::cuda_device'
std::size_t x = upcxx::cuda_device::default_alignment<int>();
^~~~~~~~~~~~~~~~~
defal.cpp:7:57: error: expected primary-expression before 'int'
std::size_t x = upcxx::cuda_device::default_alignment<int>();
^~~
{pcp-d-6 ~/UPC/code} ../upcxx/inst-par_mutex/bin/upcxx -g defal.cpp
defal.cpp: In function 'int main()':
defal.cpp:6:39: error: 'default_alignment' is not a member of 'upcxx::cuda_device'
std::size_t x = upcxx::cuda_device::default_alignment<int>();
^~~~~~~~~~~~~~~~~
defal.cpp:6:57: error: expected primary-expression before 'int'
std::size_t x = upcxx::cuda_device::default_alignment<int>();
Comments (3)
-
reporter -
reporter - changed status to resolved
fix issue
#210: Implement cuda_device::default_alignment()Move the existing implementation from detail to the specified location
→ <<cset 722ceb706c64>>
-
reporter Merge pull request #105 into develop
- issue210-default-alignment:
Update ChangeLog
Add issue210
fix issue
#210: Implement cuda_device::default_alignment()
→ <<cset 62c73f8d7087>>
- issue210-default-alignment:
Update ChangeLog
Add issue210
fix issue
- Log in to comment
Proposed fix in pull request #105