-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sample application moved to examples folder. README for running sample application added. Signed-off-by: Chithra Sankar <[email protected]> Change-Id: I6eec6b9f579c1293315cf3ded1a4ba2eef41b5fc
- Loading branch information
Showing
5 changed files
with
34 additions
and
18 deletions.
There are no files selected for viewing
File renamed without changes.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright (C) 2020-2021 Advanced Micro Devices, Inc. All rights reserved. | ||
* | ||
*/ | ||
This directory contains sample source file showing sample usage of AMD Sparse | ||
library functions. | ||
|
||
Steps to build and run the sample application: | ||
1. Set AOCLSPARSE_ROOT to library installed path | ||
export AOCLSPARSE_ROOT=<path to AOCL install directory> | ||
eg: export AOCLSPARSE_ROOT=$HOME/amd/aocl/3.0-5 | ||
|
||
2. Add aoclsparse shared library path to env path variable $LD_LIBRARY_PATH | ||
export LD_LIBRARY_PATH=$AOCLSPARSE_ROOT/lib:$LD_LIBRARY_PATH | ||
|
||
3. Compile the sample appplication by linking to the aoclsparse library | ||
g++ -O3 -DNDEBUG sample_csrmv.cpp -I $AOCLSPARSE_ROOT/include/ -L$AOCLSPARSE_ROOT/lib/ -laoclsparse -o test | ||
|
||
4. Run the application | ||
./test |
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
This file was deleted.
Oops, something went wrong.