mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 06:49:15 +00:00
Compile for gfx908 and gfx90a (#130)
* adding compilation for multiple targets * fix build * clean * update Jekinsfile * update readme * update Jenkins * use ck::half_t instead of ushort for bf16 * rename enum classes * clean * rename * clean
This commit is contained in:
@@ -51,11 +51,11 @@ struct type_mapping<ck::half_t>
|
||||
|
||||
constexpr int Rank = 4;
|
||||
|
||||
constexpr ReduceTensorOp_t ReduceOpId = ReduceTensorOp_t::AVG;
|
||||
constexpr NanPropagation_t NanOpt = NanPropagation_t::PROPAGATE_NAN;
|
||||
constexpr bool PropagateNan = false;
|
||||
constexpr ReduceTensorIndices_t IndicesOpt = ReduceTensorIndices_t::NO_INDICES;
|
||||
constexpr bool NeedIndices = false;
|
||||
constexpr ReduceTensorOp ReduceOpId = ReduceTensorOp::AVG;
|
||||
constexpr NanPropagation NanOpt = NanPropagation::PROPAGATE_NAN;
|
||||
constexpr bool PropagateNan = false;
|
||||
constexpr ReduceTensorIndices IndicesOpt = ReduceTensorIndices::NO_INDICES;
|
||||
constexpr bool NeedIndices = false;
|
||||
|
||||
template <typename InDataType,
|
||||
typename AccDataType,
|
||||
|
||||
@@ -51,11 +51,11 @@ struct type_mapping<ck::half_t>
|
||||
|
||||
constexpr int Rank = 4;
|
||||
|
||||
constexpr ReduceTensorOp_t ReduceOpId = ReduceTensorOp_t::AMAX;
|
||||
constexpr NanPropagation_t NanOpt = NanPropagation_t::PROPAGATE_NAN;
|
||||
constexpr bool PropagateNan = false;
|
||||
constexpr ReduceTensorIndices_t IndicesOpt = ReduceTensorIndices_t::FLATTENED_INDICES;
|
||||
constexpr bool NeedIndices = true;
|
||||
constexpr ReduceTensorOp ReduceOpId = ReduceTensorOp::AMAX;
|
||||
constexpr NanPropagation NanOpt = NanPropagation::PROPAGATE_NAN;
|
||||
constexpr bool PropagateNan = false;
|
||||
constexpr ReduceTensorIndices IndicesOpt = ReduceTensorIndices::FLATTENED_INDICES;
|
||||
constexpr bool NeedIndices = true;
|
||||
|
||||
template <typename InDataType,
|
||||
typename AccDataType,
|
||||
|
||||
Reference in New Issue
Block a user