-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sw: Add optimized AXPY, Covariance, SYRK and Doitgen kernels (#185)
- Loading branch information
Showing
49 changed files
with
1,800 additions
and
305 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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.
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 |
---|---|---|
|
@@ -3,6 +3,8 @@ | |
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
{ | ||
M: 16, | ||
N: 8 | ||
"m": 32, | ||
"n": 2, | ||
"m_tiles": 2, | ||
"funcptr": "covariance_opt" | ||
} |
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
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,23 @@ | ||
// Copyright 2024 ETH Zurich and University of Bologna. | ||
// Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
// Author: Luca Colagrande <[email protected]> | ||
|
||
#pragma once | ||
#include <stdint.h> | ||
|
||
typedef void (*covariance_fp_t)(uint32_t m, uint32_t n, double inv_n, | ||
double inv_n_m1, double *data, double *datat, | ||
double *cov); | ||
|
||
typedef struct { | ||
uint32_t m; | ||
uint32_t n; | ||
double inv_n; | ||
double inv_n_m1; | ||
double *data; | ||
double *cov; | ||
uint32_t m_tiles; | ||
covariance_fp_t funcptr; | ||
} covariance_args_t; |
Oops, something went wrong.