diff --git a/Docs/Shared-Memory.md b/Docs/Shared-Memory.md index 82753aa6c..fe490547e 100644 --- a/Docs/Shared-Memory.md +++ b/Docs/Shared-Memory.md @@ -30,7 +30,7 @@ class ... // Create shared memory configuration using a custom element type. // Note that this does not need to be the same type that is used in the scope of the kernel. // Therefore, the following two configurations will allocate the same amount of shared memory: - var config = SharedMemoryConfig.RequestDynamic( * sizeof(byte)); + var config = SharedMemoryConfig.RequestDynamic( * sizeof(int)); var config2 = SharedMemoryConfig.RequestDynamic(); ... @@ -41,4 +41,4 @@ class ... } ``` -*Note that this feature available on CPU, Cuda and OpenCL accelerators.* \ No newline at end of file +*Note that this feature available on CPU, Cuda and OpenCL accelerators.*