Changes

Jump to: navigation, search

DPS921/Intel Advisor

1,016 bytes added, 18:02, 6 December 2020
Memory Access Pattern Analysis
= Memory Access Pattern Analysis =
We can use the MAP analysis tool to check for various memory issues, such as non-contiguous memory accesses and unit strides.
<source>#include <iostream>/* Copyright (C) 2010-2017 Intel Corporation. All Rights Reserved.using namespace std; * * The source code, information and material ("Material") * contained herein is owned by Intel Corporation or its * suppliers or licensors, and title to such Material remains const long int SIZE = 3500000; * with Intel Corporation or its suppliers or licensors. * The Material contains proprietary information of Intel or typedef struct tricky * its suppliers and licensors. The Material is protected by { * worldwide copyright laws and treaty provisions. int member1; * No part of the Material may be used, copied, reproduced, float member2; * modified, published, uploaded, posted, transmitted, distributed } tricky; * or disclosed in any way without Intel's prior express written * permission. No license under any patent, copyright or othertricky structArray[SIZE]; * intellectual property rights in the Material is granted to or * conferred upon you, either expressly, by implication, inducement, int main() * estoppel or otherwise. Any license under such intellectual { * property rights must be express and approved by Intel in writing. cout << "Starting * Third Party trademarks are the property of their respective owners.\n"; for (long int i = 0; i < SIZE; i++) * Unless otherwise agreed by Intel in writing, you may not remove { * or alter this notice or any other notice embedded in Materials structArray[i] * by Intel or Intel's suppliers or licensors in any way.member1 = (i / 25) + i - 78; } cout << * This file is intended for use with the "Memory Access 101"Donetutorial.\n"; return EXIT_SUCCESS;} */
#include <iostream>
#include <time.h>
return EXIT_SUCCESS;
}</source> 
</source>
= Sources =
62
edits

Navigation menu