Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sparse #1

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
c1a3cd7
rebsing
ABenC377 Oct 11, 2024
21366b4
rebsing
ABenC377 Oct 11, 2024
f2ed11f
Implementing cuSPARSE kernel
ABenC377 Mar 13, 2024
c208246
Trying to work out CSR malloc bug
ABenC377 Mar 13, 2024
de14a56
Trying to work out CSR malloc bug
ABenC377 Mar 13, 2024
49cddf0
cuSPARSE unified memory implementation
ABenC377 Mar 19, 2024
37ce8b4
Now compiles
ABenC377 Mar 21, 2024
143c1c0
Now compiles with fewer runtime errors
ABenC377 Mar 25, 2024
bcd7ae8
rebasing
ABenC377 Oct 11, 2024
2ffee16
All implemented and running. No checksum at the end
ABenC377 Mar 26, 2024
064ec57
Removing print statements
ABenC377 Mar 26, 2024
88a053f
Removing print statements
ABenC377 Mar 29, 2024
5b04a2c
rebasing
ABenC377 Apr 1, 2024
23d318b
rebasing
ABenC377 Oct 11, 2024
be9094c
rebasing
ABenC377 Oct 11, 2024
7cfa7be
Tidying up spGEMM classes to remove duplicated code
ABenC377 Apr 3, 2024
30d384e
rebasing
ABenC377 Oct 11, 2024
cc8e2a8
rebasing
ABenC377 Oct 11, 2024
de56ae1
rebasing
ABenC377 Oct 11, 2024
b972c23
rebasing
ABenC377 Oct 11, 2024
1f5f2dd
rebasing
ABenC377 Oct 11, 2024
b06250c
rebasing
ABenC377 Oct 11, 2024
42bdc58
Adding AOCL files
ABenC377 Aug 21, 2024
521cbf3
Working changes
ABenC377 Oct 1, 2024
a8e5c46
Adding AOCL files
ABenC377 Oct 11, 2024
9eb4646
No longer overwriting B_
ABenC377 Oct 3, 2024
7f82b7d
Adding AOCL files
ABenC377 Oct 11, 2024
0130b81
Adding AOCL files
ABenC377 Oct 11, 2024
4581637
Providing armpl with hints
ABenC377 Oct 11, 2024
477b7a0
Updating createGflopsGraphs.py to show sparsity
ABenC377 Oct 21, 2024
407c008
Beginning gemv ARMPL
ABenC377 Oct 21, 2024
8934588
Beginning gemv ARMPL
ABenC377 Oct 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rebasing
  • Loading branch information
ABenC377 committed Oct 11, 2024
commit b972c23e4058c5d5e541b6d3f3e3424dc185f7b0
40 changes: 20 additions & 20 deletions src/main.cc
Original file line number Diff line number Diff line change
@@ -146,26 +146,26 @@ void getParameters(int argc, char** argv) {
} else if (!strcmp(argv[i], "--no_gpu")) {
doGpu = false;
} else if (!strcmp(argv[i], "--kernels") || !strcmp(argv[i], "-k")) {
doSgemm = doDgemm = doSp_sgemm = doSp_dgemm = false;
std::string kernelList = argv[++i];
if (kernelList.find("sp-sgemm") != std::string::npos) {
doSp_sgemm = true;
if (kernelList.find("sgemm") != std::string::npos &&
kernelList.find("sgemm") != kernelList.find("sp-sgemm") + 3) {
doSgemm = true;
}
} else if (kernelList.find("sgemm") != std::string::npos) {
doSgemm = true;
}
if (kernelList.find("sp-dgemm") != std::string::npos) {
doSp_dgemm = true;
if (kernelList.find("dgemm") != std::string::npos &&
kernelList.find("dgemm") != kernelList.find("sp-dgemm") + 3) {
doDgemm = true;
}
} else if (kernelList.find("dgemm") != std::string::npos) {
doDgemm = true;
}
doSgemm = doDgemm = doSp_sgemm = doSp_dgemm = false;
std::string kernelList = argv[++i];
if (kernelList.find("sp-sgemm") != std::string::npos) {
doSp_sgemm = true;
if (kernelList.find("sgemm") != std::string::npos &&
kernelList.find("sgemm") != kernelList.find("sp-sgemm") + 3) {
doSgemm = true;
}
} else if (kernelList.find("sgemm") != std::string::npos) {
doSgemm = true;
}
if (kernelList.find("sp-dgemm") != std::string::npos) {
doSp_dgemm = true;
if (kernelList.find("dgemm") != std::string::npos &&
kernelList.find("dgemm") != kernelList.find("sp-dgemm") + 3) {
doDgemm = true;
}
} else if (kernelList.find("dgemm") != std::string::npos) {
doDgemm = true;
}

if (!doSgemm && !doDgemm && !doSp_sgemm && !doSp_dgemm) {
std::cout << "ERROR - no implemented kernels in list" << std::endl;