NVIDIA Developer Forums
Can I use union in __global__ function with indexes?
Accelerated Computing
CUDA
CUDA Programming and Performance
tiputa
March 7, 2023, 10:50am
3
It doesn’t store the data into:
psw.p[i] = charset[counters[i]];
See
this thread
.
show post in topic
Related topics
Topic
Replies
Views
Activity
Nested Unions - Warp Out-Of-Bound-Access
CUDA Programming and Performance
1
1544
March 7, 2012
Misaligned address of union
CUDA Programming and Performance
12
1946
October 16, 2020
Packed datatype in an union - 'volatile' keyword necessary ?
CUDA Programming and Performance
3
1598
September 22, 2016
union and local memory
CUDA Programming and Performance
6
6419
February 20, 2008
How to get one load operation to load values of different types?
CUDA Programming and Performance
3
34
February 24, 2025
How to divide a 8 bytes data to two 4 bytes data, so that I could use warp shuffle feature?
CUDA Programming and Performance
14
2383
December 4, 2012
Reusing same memory spaces with a different vaiable name
CUDA Programming and Performance
1
1326
February 7, 2009
Data alignment for 32 bit reads?
CUDA Programming and Performance
8
5151
March 27, 2007
Compile problems with global arrays Global array compile-time indexing fails, but local arrays work
CUDA Programming and Performance
2
1326
April 28, 2010
Unaligned memory accesses not supported Shared Mem Unaligned memory accesses not supported
CUDA Programming and Performance
1
3951
February 15, 2011