-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update toolchains on tioga, lassen, ruby and poodle #275
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@adayton1 regarding the failure in the gcc 11.2.1 + cuda 11.8 build, do you think I should ignore the failure or wait for a fix? |
I'm looking into this again. |
I think nvcc preprocesses std::function incorrectly. This isn't the first time I've seen issues with nvcc and the std library header. |
I think we might just have to allow failure for now on this job. |
@adayton1 I was trying to understand the issue better, and here is my conclusion: In template<typename T>
template<typename Idx>
CHAI_INLINE
CHAI_HOST_DEVICE T& ManagedArray<T>::operator[](const Idx i) const {
return m_active_pointer[i];
} This operator appears to be defined for both __host__ and __device__, while there exists an implementation of the class ManagedArray that is only defined for __host__, template<typename T>
CHAI_INLINE
CHAI_HOST ManagedArray<T>::ManagedArray(PointerRecord* record, ExecutionSpace space):
[...] I think this explains the warning. Then, the error itself appears to be related in the following way:
It looks like there is a mismatch between class implementations. TEST(ManagedArray, SpaceConstructorCPU)
{
chai::ManagedArray<float> array(10, chai::CPU);
ASSERT_EQ(array.size(), 10u);
array.free();
} I think the intent is for the test to instantiate CHAI_HOST_DEVICE ManagedArray<T>::ManagedArray(
size_t elems,
ExecutionSpace space) :
ManagedArray() defined at line 53 of template<typename T>
CHAI_INLINE
CHAI_HOST ManagedArray<T>::ManagedArray(PointerRecord* record, ExecutionSpace space):
[...] Could it be that |
@adayton1 You may now merge the PR. |
Update corona to ROCm 6.0.2-> same error as with tioga, need ROCm 6.1.x , reverted to ROCm 5.7.1Errors