Skip to content

Conversation

@edoapra
Copy link
Contributor

@edoapra edoapra commented Feb 19, 2025

@edoapra edoapra requested a review from bjpalmer February 19, 2025 20:25
@bjpalmer
Copy link
Member

Changing the pointer type in the interface is probably not the way to go. The sparse array code supports the basic data types (int, long, float, double, etc.). I'd change the testsparse code to look like

void *tptr;
NGA_Sprs_array_access_col_block64(s_a,iproc,&iptr,&jptr,&tptr);
vptr = (double*)tptr;

This fussiness about pointers seems to be a feature of the newer compilers. I haven't had problems with it in the past.

@edoapra edoapra merged commit beaceb5 into GlobalArrays:develop Feb 20, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants