v3.8.0 update (#2082)
* 3.8 update * fix Markus' name --------- Co-authored-by: yuzhai <yuzhai@nvidia.com>
This commit is contained in:
@@ -1201,25 +1201,30 @@ public:
|
||||
GemmOperationBase<Operator_>(name) {
|
||||
|
||||
this->description_.gemm_kind = GemmKind::kGrouped;
|
||||
this->description_.kind = OperationKind::kGroupedGemm;
|
||||
this->threadblock_count = Operator::sufficient();
|
||||
}
|
||||
|
||||
private:
|
||||
int threadblock_count;
|
||||
|
||||
protected:
|
||||
|
||||
/// Constructs the arguments structure given the configuration and arguments
|
||||
static Status construct_arguments_(
|
||||
Status construct_arguments_(
|
||||
OperatorArguments &op_args,
|
||||
GemmGroupedConfiguration const *config) {
|
||||
GemmGroupedConfiguration const *config) const {
|
||||
|
||||
op_args.problem_count = config->problem_count;
|
||||
op_args.threadblock_count = config->threadblock_count;
|
||||
op_args.threadblock_count = threadblock_count;
|
||||
|
||||
return Status::kSuccess;
|
||||
}
|
||||
|
||||
/// Constructs the arguments structure given the configuration and arguments
|
||||
static Status update_arguments_(
|
||||
Status update_arguments_(
|
||||
OperatorArguments &op_args,
|
||||
GemmGroupedArguments const *arguments) {
|
||||
GemmGroupedArguments const *arguments) const {
|
||||
|
||||
if (arguments->pointer_mode == ScalarPointerMode::kHost) {
|
||||
|
||||
@@ -1243,6 +1248,8 @@ protected:
|
||||
return Status::kErrorInvalidProblem;
|
||||
}
|
||||
|
||||
op_args.threadblock_count = threadblock_count;
|
||||
op_args.problem_count = arguments->problem_count;
|
||||
op_args.problem_sizes = arguments->problem_sizes;
|
||||
|
||||
op_args.ptr_A = static_cast<ElementA **>(arguments->ptr_A);
|
||||
|
||||
Reference in New Issue
Block a user