CUTLASS 2.5
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/***************************************************************************************************
|
||||
* Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted
|
||||
* provided that the following conditions are met:
|
||||
@@ -208,7 +208,9 @@ class TensorViewPlanarComplex : public TensorRefPlanarComplex<Element_, Layout_>
|
||||
TensorCoord const& location = TensorCoord() ///< resulting view's origin within the old view
|
||||
) const {
|
||||
|
||||
return TensorViewPlanarComplex(ref(), extent.clamp(extent_ - location)).add_coord_offset(location);
|
||||
TensorViewPlanarComplex result(this->ref(), extent.clamp(extent_ - location));
|
||||
result.add_coord_offset(location);
|
||||
return result;
|
||||
}
|
||||
|
||||
/// Returns the number of scalar elements needed to store tensor.
|
||||
|
||||
Reference in New Issue
Block a user