aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arm_compute/core/CL/gemm/native/CLGEMMNativeKernelConfiguration.h10
-rw-r--r--arm_compute/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfiguration.h10
-rw-r--r--arm_compute/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfiguration.h10
3 files changed, 9 insertions, 21 deletions
diff --git a/arm_compute/core/CL/gemm/native/CLGEMMNativeKernelConfiguration.h b/arm_compute/core/CL/gemm/native/CLGEMMNativeKernelConfiguration.h
index 7d0e7c97d4..763c27b0fb 100644
--- a/arm_compute/core/CL/gemm/native/CLGEMMNativeKernelConfiguration.h
+++ b/arm_compute/core/CL/gemm/native/CLGEMMNativeKernelConfiguration.h
@@ -45,13 +45,9 @@ public:
*/
static std::unique_ptr<ICLGEMMKernelConfiguration> create(GPUTarget arch)
{
- switch(get_arch_from_target(arch))
- {
- case GPUTarget::BIFROST:
- return support::cpp14::make_unique<CLGEMMNativeKernelConfigurationBifrost>(arch);
- default:
- return nullptr;
- }
+ // Note: At the moment we only support Bifrost architecture. However, we should have a dedicated path for each GPU architecture
+ // using get_arch_from_target(arch)
+ return support::cpp14::make_unique<CLGEMMNativeKernelConfigurationBifrost>(arch);
}
};
} // namespace cl_gemm
diff --git a/arm_compute/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfiguration.h b/arm_compute/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfiguration.h
index 105a58a6f8..f451a18d74 100644
--- a/arm_compute/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfiguration.h
+++ b/arm_compute/core/CL/gemm/reshaped/CLGEMMReshapedKernelConfiguration.h
@@ -45,13 +45,9 @@ public:
*/
static std::unique_ptr<ICLGEMMKernelConfiguration> create(GPUTarget arch)
{
- switch(get_arch_from_target(arch))
- {
- case GPUTarget::BIFROST:
- return support::cpp14::make_unique<CLGEMMReshapedKernelConfigurationBifrost>(arch);
- default:
- return nullptr;
- }
+ // Note: At the moment we only support Bifrost architecture. However, we should have a dedicated path for each GPU architecture
+ // using get_arch_from_target(arch)
+ return support::cpp14::make_unique<CLGEMMReshapedKernelConfigurationBifrost>(arch);
}
};
} // namespace cl_gemm
diff --git a/arm_compute/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfiguration.h b/arm_compute/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfiguration.h
index b9bf150c4f..5d9eac4d02 100644
--- a/arm_compute/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfiguration.h
+++ b/arm_compute/core/CL/gemm/reshaped_only_rhs/CLGEMMReshapedOnlyRHSKernelConfiguration.h
@@ -45,13 +45,9 @@ public:
*/
static std::unique_ptr<ICLGEMMKernelConfiguration> create(GPUTarget arch)
{
- switch(get_arch_from_target(arch))
- {
- case GPUTarget::BIFROST:
- return support::cpp14::make_unique<CLGEMMReshapedOnlyRHSKernelConfigurationBifrost>(arch);
- default:
- return nullptr;
- }
+ // Note: At the moment we only support Bifrost architecture. However, we should have a dedicated path for each GPU architecture
+ // using get_arch_from_target(arch)
+ return support::cpp14::make_unique<CLGEMMReshapedOnlyRHSKernelConfigurationBifrost>(arch);
}
};
} // namespace cl_gemm