You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the default cpu access_type for arrays created on this accelerator or for implicit memory allocations as part of array_views accessed on this accelerator. This method only succeeds if the default_cpu_access_type for the accelerator has not already been overriden by a previous call to this method and the runtime selected default_cpu_access_type for this accelerator has not yet been used for allocating an array or for an implicit memory allocation backing an array_view accessed on this accelerator.
475
+
Set the default cpu access_type for arrays created on this accelerator or for implicit memory allocations as part of array_views accessed on this accelerator. This method only succeeds if the default_cpu_access_type for the accelerator has not already been overridden by a previous call to this method and the runtime selected default_cpu_access_type for this accelerator has not yet been used for allocating an array or for an implicit memory allocation backing an array_view accessed on this accelerator.
Copy file name to clipboardExpand all lines: docs/parallel/amp/reference/array-view-class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -552,7 +552,7 @@ An `array_view` object or a const `array_view` object that is based on this `arr
552
552
553
553
Sometimes it is convenient to view a multi-dimensional array as a linear, one-dimensional array, which may have a different value type than the source array. You can achieve this on an `array_view` by using this method.
554
554
555
-
**Warning**Reinterpeting an array_view object by using a different value type is a potentially unsafe operation. This functionality should be used with care.
555
+
**Warning**Reinterpreting an array_view object by using a different value type is a potentially unsafe operation. This functionality should be used with care.
Uninitializes the C++ AMP runtime. It is legal to call this function multiple times during an applications lifetime. Calling any C++ AMP API afer calling this function will reinitialize the C++ AMP runtime. Note that it is illegal to use C++ AMP objects across calls to this function and doing so will result in undefined behavior. Also, concurrently calling this function and any other AMP APIs is illegal and would result in undefined behavior.
34
+
Uninitializes the C++ AMP runtime. It is legal to call this function multiple times during an applications lifetime. Calling any C++ AMP API after calling this function will reinitialize the C++ AMP runtime. Note that it is illegal to use C++ AMP objects across calls to this function and doing so will result in undefined behavior. Also, concurrently calling this function and any other AMP APIs is illegal and would result in undefined behavior.
35
35
36
36
```cpp
37
37
void __cdecl amp_uninitialize();
@@ -94,7 +94,7 @@ inline float atomic_exchange(
94
94
### Parameters
95
95
96
96
*_Dest*<br/>
97
-
Pointer to the destionation location.
97
+
Pointer to the destination location.
98
98
99
99
*value*<br/>
100
100
The new value.
@@ -301,7 +301,7 @@ inline unsigned int atomic_fetch_sub(
301
301
### Parameters
302
302
303
303
*_Dest*<br/>
304
-
Pointer to the destionation location.
304
+
Pointer to the destination location.
305
305
306
306
*value*<br/>
307
307
The value to be subtracted.
@@ -312,7 +312,7 @@ The original value of the memory location.
312
312
313
313
## <aname="atomic_fetch_xor"></a> atomic_fetch_xor Function (C++ AMP)
314
314
315
-
Atomically peforms an bitwise XOR operation of a value and a memory location.
315
+
Atomically performs an bitwise XOR operation of a value and a memory location.
316
316
317
317
```cpp
318
318
inlineintatomic_fetch_xor(
@@ -415,7 +415,7 @@ The object to copy to.
415
415
An output iterator to the beginning position at destination.
416
416
417
417
*InputIterator*<br/>
418
-
The type of the input interator.
418
+
The type of the input iterator.
419
419
420
420
*OutputIterator*<br/>
421
421
The type of the output iterator.
@@ -504,7 +504,7 @@ The object to copy to.
504
504
An output iterator to the beginning position at destination.
Copy file name to clipboardExpand all lines: docs/parallel/amp/reference/texture-class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -545,7 +545,7 @@ The next-to-most-significant component of the texture.
545
545
The least significant component of the extent of the texture.
546
546
547
547
*_Input_iterator*<br/>
548
-
The type of the input interator.
548
+
The type of the input iterator.
549
549
550
550
*_Mipmap_levels*<br/>
551
551
The number of mipmap levels in the underlying texture. If 0 is specified, the texture will have the full range of mipmap levels down to the smallest possible size for the specified extent.
0 commit comments