Fix typos 2 (#842)
Co-authored-by: Haicheng Wu <57973641+hwu36@users.noreply.github.com>
This commit is contained in:
co-authored by
Haicheng Wu
parent
c4f6b8c6bc
commit
7e370c9637
@@ -284,7 +284,7 @@ Status Conv3dOperationProfiler::initialize_configuration(
|
||||
}
|
||||
|
||||
//////////////////////// Convolution output dimensions p and q ////////////////////////
|
||||
// Cutlass convolutions support arbitrary output sizes and not constriant by //
|
||||
// Cutlass convolutions support arbitrary output sizes and not constrained by //
|
||||
// input, filter, padding, striding, dilation sizes. //
|
||||
// cuDNN sets the output dimensions (p, q) using following equations: //
|
||||
// //
|
||||
@@ -545,7 +545,7 @@ void Conv3dOperationProfiler::initialize_result_(
|
||||
// Bytes of activation, filter, and output tensors
|
||||
result.bytes = problem_.bytes(operation_desc);
|
||||
|
||||
// Theoritical flops required for the computation
|
||||
// Theoretical flops required for the computation
|
||||
result.flops = problem_.flops(operation_desc);
|
||||
|
||||
// Measured runtime
|
||||
@@ -553,7 +553,7 @@ void Conv3dOperationProfiler::initialize_result_(
|
||||
|
||||
}
|
||||
|
||||
/// Initialize reduction problem dimenstions and library::Operation
|
||||
/// Initialize reduction problem dimensions and library::Operation
|
||||
bool Conv3dOperationProfiler::initialize_reduction_configuration_(
|
||||
Options const &options,
|
||||
PerformanceReport &report,
|
||||
@@ -578,7 +578,7 @@ bool Conv3dOperationProfiler::initialize_reduction_configuration_(
|
||||
/// This chooses the appropriate stride element of the row-major C tensor.
|
||||
int const & tensor_c_stride_idx = (conv_kind == library::ConvKind::kWgrad ? 3 : 0);
|
||||
|
||||
/// intialize library::ReductionConfiguration
|
||||
/// initialize library::ReductionConfiguration
|
||||
conv_workspace_.reduction_configuration.problem_size = problem_.eq_gemm_size(conv_kind).mn();
|
||||
conv_workspace_.reduction_configuration.partitions = int(problem_.split_k_slices);
|
||||
conv_workspace_.reduction_configuration.partition_stride = problem_.eq_gemm_size(conv_kind).mn().product();
|
||||
@@ -947,7 +947,7 @@ bool Conv3dOperationProfiler::verify_with_host_reference_(
|
||||
conv_desc.tile_description.math_instruction.element_accumulator,
|
||||
conv_desc.element_epilogue);
|
||||
|
||||
#if 0 // debug print to check which host refererence instance is selected
|
||||
#if 0 // debug print to check which host reference instance is selected
|
||||
std::cout << conv_key << "\n";
|
||||
#endif
|
||||
|
||||
@@ -968,7 +968,7 @@ bool Conv3dOperationProfiler::verify_with_host_reference_(
|
||||
return true;
|
||||
}
|
||||
|
||||
// host refernce has only one instances in ConvOperationVectorMap
|
||||
// host reference has only one instances in ConvOperationVectorMap
|
||||
library::Operation const *reference_op = cc_it->second[0];
|
||||
|
||||
//
|
||||
@@ -993,7 +993,7 @@ bool Conv3dOperationProfiler::verify_with_host_reference_(
|
||||
conv_workspace_.arguments.pointer_mode = library::ScalarPointerMode::kHost;
|
||||
|
||||
//
|
||||
// Intialize host reference operation
|
||||
// Initialize host reference operation
|
||||
//
|
||||
std::vector<uint8_t> host_workspace_reference_op;
|
||||
|
||||
@@ -1109,7 +1109,7 @@ void Conv3dOperationProfiler::set_cutlass_operator_arguments_(int problem_idx) {
|
||||
conv_workspace_.arguments.alpha = problem_.alpha_one.data();
|
||||
conv_workspace_.arguments.beta = problem_.beta_zero.data();
|
||||
|
||||
/// intialize library::ReductionArguments
|
||||
/// initialize library::ReductionArguments
|
||||
conv_workspace_.reduction_arguments.workspace = conv_workspace_.device_workspace.data();
|
||||
conv_workspace_.reduction_arguments.source = conv_workspace_.C->batch_data(problem_idx);
|
||||
conv_workspace_.reduction_arguments.destination = conv_workspace_.Computed->batch_data(problem_idx);
|
||||
|
||||
Reference in New Issue
Block a user