File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Lecture_14_ND_Range_Kernel
Lecture_16_Coalesced_Global_Memory Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 330
330
* Nested subscript operators can be called for each dimension taking a **size_t**
331
331
* E.g. a 3-dimensional accessor: acc[x][y][z] = …
332
332
* A pointer to memory can be retrieved by calling **get_pointer**
333
- * This returns a **multi_ptr**, which is a wrapper class for pointers to the memory in the relevant memory space
333
+ * This returns a raw pointer to the data
334
334
</ div >
335
335
</ section >
336
336
<!--Slide 23-->
Original file line number Diff line number Diff line change 138
138
#### Row-major vs Column-major
139
139
</ div >
140
140
< div class ="container " data-markdown >
141
- * Coalescing global memory access is particularly important when wording in multiple dimensions.
141
+ * Coalescing global memory access is particularly important when working in multiple dimensions.
142
142
* This is because when doing so you have to convert from a position in 2d space to a linear memory space.
143
143
* There are two ways to do this; generally referred to as row-major and column-major.
144
144
</ div >
You can’t perform that action at this time.
0 commit comments