Run codespell over docs and comments

Spelling fixes reported by running codespell over docs and sources.
This commit is contained in:
Philipp Zabel 2020-10-25 13:05:28 +01:00
parent fe8094b597
commit e6473a6edc
12 changed files with 30 additions and 30 deletions

View file

@ -30,7 +30,7 @@ class Algorithm
std::shared_ptr<vk::CommandBuffer> commandBuffer);
/**
* Initialiser for the shader data provided to the algoithm as well as
* Initialiser for the shader data provided to the algorithm as well as
* tensor parameters that will be used in shader.
*
* @param shaderFileData The bytes in spir-v format of the shader

View file

@ -29,7 +29,7 @@ class Manager
* they would like to create the resources on.
*
* @param physicalDeviceIndex The index of the physical device to use
* @param familyQueueIndeces (Optional) List of queue indeces to add for
* @param familyQueueIndeces (Optional) List of queue indices to add for
* explicit allocation
* @param totalQueues The total number of compute queues to create.
*/

View file

@ -11,7 +11,7 @@ namespace kp {
*
* Tensors are the base building block in Kompute to perform operations across
* GPUs. Each tensor would have a respective Vulkan memory and buffer, which
* woudl be used to store their respective data. The tensors can be used for GPU
* would be used to store their respective data. The tensors can be used for GPU
* data storage or transfer.
*/
class Tensor
@ -54,7 +54,7 @@ class Tensor
/**
* Initialiser which calls the initialisation for all the respective tensors
* as well as creates the respective staging tensors. The staging tensors
* woudl only be created for the tensors of type TensorType::eDevice as
* would only be created for the tensors of type TensorType::eDevice as
* otherwise there is no need to copy from host memory.
*/
void init(std::shared_ptr<vk::PhysicalDevice> physicalDevice,

View file

@ -104,7 +104,7 @@ class OpAlgoBase : public OpBase
* the barriers that ensure the memory has been copied before going in and
* out of the shader, as well as the dispatch operation that sends the
* shader processing to the gpu. This function also records the GPU memory
* copy of the output data for the staging bufffer so it can be read by the
* copy of the output data for the staging buffer so it can be read by the
* host.
*/
virtual void record() override;
@ -143,7 +143,7 @@ class OpAlgoBase : public OpBase
} // End namespace kp
// Including implemenation for template class
// Including implementation for template class
#ifndef OPALGOBASE_IMPL
#define OPALGOBASE_IMPL

View file

@ -63,7 +63,7 @@ class OpAlgoLhsRhsOut : public OpAlgoBase<tX, tY, tZ>
* the barriers that ensure the memory has been copied before going in and
* out of the shader, as well as the dispatch operation that sends the
* shader processing to the gpu. This function also records the GPU memory
* copy of the output data for the staging bufffer so it can be read by the
* copy of the output data for the staging buffer so it can be read by the
* host.
*/
virtual void record() override;
@ -87,7 +87,7 @@ class OpAlgoLhsRhsOut : public OpAlgoBase<tX, tY, tZ>
} // End namespace kp
// Including implemenation for template class
// Including implementation for template class
#ifndef OPALGOLHSRHSOUT_CPP
#define OPALGOLHSRHSOUT_CPP

View file

@ -40,7 +40,7 @@ class OpTensorCopy : public OpBase
void init() override;
/**
* Records the copy commands from teh first tensor into all the other tensors provided. Also optionally records a barrier.
* Records the copy commands from the first tensor into all the other tensors provided. Also optionally records a barrier.
*/
void record() override;