-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce dispatching in oneAPI covariance algorithm (#2527)
Changes proposed in this pull request: - Added computre_parameters class in covariance algorithm. This class encapsulates the dispatching functionality on CPU and GPU. - Added test for dispatching functionality in covariance algorithm. Only batch algorithm was modified for now. Online part of the covariance algorithm will be modified further in a separate PR.
- Loading branch information
Showing
28 changed files
with
610 additions
and
49 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
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,13 @@ | ||
package(default_visibility = ["//visibility:public"]) | ||
load("@onedal//dev/bazel:dal.bzl", | ||
"dal_module", | ||
"dal_test_suite", | ||
) | ||
|
||
dal_module( | ||
name = "backend", | ||
dal_deps = [ | ||
"@onedal//cpp/oneapi/dal/algo/covariance/backend/cpu", | ||
"@onedal//cpp/oneapi/dal/algo/covariance/backend/gpu", | ||
], | ||
) |
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,18 @@ | ||
package(default_visibility = ["//visibility:public"]) | ||
load("@onedal//dev/bazel:dal.bzl", | ||
"dal_module", | ||
"dal_test_suite", | ||
) | ||
|
||
dal_module( | ||
name = "cpu", | ||
auto = True, | ||
dal_deps = [ | ||
"@onedal//cpp/oneapi/dal/algo/covariance:core", | ||
"@onedal//cpp/oneapi/dal/backend/primitives:common", | ||
], | ||
extra_deps = [ | ||
"@onedal//cpp/daal:core", | ||
"@onedal//cpp/daal/src/algorithms/covariance:kernel", | ||
], | ||
) |
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,20 @@ | ||
package(default_visibility = ["//visibility:public"]) | ||
load("@onedal//dev/bazel:dal.bzl", | ||
"dal_module", | ||
"dal_test_suite", | ||
) | ||
|
||
dal_module( | ||
name = "gpu", | ||
auto = True, | ||
dal_deps = [ | ||
"@onedal//cpp/oneapi/dal/backend/primitives:common", | ||
"@onedal//cpp/oneapi/dal/backend/primitives:lapack", | ||
"@onedal//cpp/oneapi/dal/backend/primitives:stat", | ||
"@onedal//cpp/oneapi/dal/backend/primitives:reduction", | ||
"@onedal//cpp/oneapi/dal/algo/covariance:core", | ||
], | ||
extra_deps = [ | ||
"@onedal//cpp/daal/src/algorithms/covariance:kernel", | ||
] | ||
) |
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
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
Oops, something went wrong.