January 2020
Intermediate to advanced
532 pages
13h 31m
English
What happens if we exceed the size of the shared memory device if we have forgotten to increase the size as described earlier? Let's say we need to allocate 20 GiB but there is only 16 GiB:

There is no error even though we have exceeded the limit! Are we getting a free ride? The answer is no. It turns out that Julia does not know the limit has been breached. We can even work with the array up close and personal to the 16 GiB mark:

The preceding code simply sets the first 15 GiB of memory to 0x01. No error ...
Read now
Unlock full access