mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-24 14:54:47 +00:00
Hotfix eltiwseop (#242)
* Use vector constructor instead * Fix typo * Move blockSize to the MakeArgumentPointer * Fix naming * Fix clang format * remove blockSize from DeviceBinaryElementwise::Argument() Co-authored-by: rocking <chunylai@amd.com> Co-authored-by: Chao Liu <chao.liu2@amd.com>
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
|
||||
namespace ck {
|
||||
|
||||
template <typename Src, typename Dst>
|
||||
inline std::vector<Dst> convert_vector_element_type(const std::vector<Src>& inData)
|
||||
{
|
||||
std::vector<Dst> outData;
|
||||
|
||||
for(auto elem : inData)
|
||||
outData.push_back(static_cast<Dst>(elem));
|
||||
|
||||
return (outData);
|
||||
};
|
||||
|
||||
}; // namespace ck
|
||||
Reference in New Issue
Block a user