forked from codeplaysoftware/computecpp-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Windows compilation for on-chip memory sample
Had to change `dimension_size` to `static size_t`, not `(automatic) auto`. Windows requires that the variable be static, and also warns of a narrowing conversion (`signed int` to `size_t`).
- Loading branch information
1 parent
266b9e0
commit 2e61239
Showing
1 changed file
with
16 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters