Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling #236

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/core/include/radeonrays.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,13 +378,13 @@ RR_API RRError rrGetSceneBuildMemoryRequirements(RRContext contex
*
* @param context RR API context.
* @param scene Scene to raycast against.
* @param query Query type (clsosest or first)
* @param query Query type (closest or first)
* @param rays Buffer of rays.
* @param ray_count Number of rays in the buffer (or max number of rays if indirect_ray_count is supplied).
* @param indirect_ray_count Optional actual number of rays in the buffer.
* @param query_output Type of the information to output.
* @param hits Output hits buffer.
* @param scratch Auxilliary buffer for trace.
* @param scratch Auxiliary buffer for trace.
* @param command_stream to write command to.
* @return Error in case of a failure, RRSuccess otherwise.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/core/src/base/intersector_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class IntersectorBase
const RRBuildOptions* build_options) = 0;

/**
* @brief Get scene build memeory requirements.
* @brief Get scene build memory requirements.
*
* @param instance_count Number of instances in the scene.
* @param build_options Build options.
Expand Down Expand Up @@ -168,7 +168,7 @@ class IntersectorBase
* @param indirect_ray_count Optional buffer containing number of rays in GPU memory.
* @param query_output Type of output produced by the intersector.
* @param hits Buffer to write hit data to.
* @param scratch Auxilliary buffer for trace.
* @param scratch Auxiliary buffer for trace.
**/
virtual void Intersect(CommandStreamBase* command_stream,
DevicePtrBase* scene_buffer,
Expand Down
4 changes: 2 additions & 2 deletions src/core/src/dx/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void Device::CreateDXGIAdapter(D3D_FEATURE_LEVEL feature_level)

void Device::CreateDeviceAndCommandQueue(D3D_FEATURE_LEVEL feature_level)
{
Logger::Get().Debug("Initalizing DirectX in standalone mode");
Logger::Get().Debug("Initializing DirectX in standalone mode");

// Create the DX12 API device object.
ThrowIfFailed(D3D12CreateDevice(dxgi_adapter_.Get(), feature_level, IID_PPV_ARGS(&device_)),
Expand All @@ -138,7 +138,7 @@ void Device::InitD3D()

void Device::InitializePools()
{
// Initalize fence pool creation functions.
// Initialize fence pool creation functions.
event_pool_.SetCreateFn([device = device_]() {
EventBackend<BackendType::kDx12>* event = new Event();
ID3D12Fence* fence = nullptr;
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/dx/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Device : public DeviceBackend<BackendType::kDx12>
~Device();

/*************************************************************
* DeviceBase interface overrrides.
* DeviceBase interface overrides.
*************************************************************/
/**
* @brief Allocate a command stream.
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/dx/fallback_intersector.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Dx12Intersector : public IntersectorBase
~Dx12Intersector() = default;

/********************************************
* IntersectorBase interface overrrides.
* IntersectorBase interface overrides.
********************************************/
/**
* @brief Get an info on build memory requirements.
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/dx/kernels/math.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ float3 TransformPoint(in float3 p, in float4 transform[3])
dot(p, transform[2].xyz) + transform[2].w);
}

//< Caluclate inverse of 4x4 matrix.
//< Calculate inverse of 4x4 matrix.
float4x4 inverse(in float4x4 m)
{
float n11 = m[0][0], n12 = m[1][0], n13 = m[2][0], n14 = m[3][0];
Expand Down
2 changes: 1 addition & 1 deletion test/test_vk/algos_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ void AlgosTest::SetUp()
std::vector<VkQueueFamilyProperties> queue_props(queue_family_count);
vkGetPhysicalDeviceQueueFamilyProperties(gpus[0], &queue_family_count, queue_props.data());

// Look for a queue supporing both compute and transfer
// Look for a queue supporting both compute and transfer
bool found = false;
for (unsigned int i = 0; i < queue_family_count; i++)
{
Expand Down
4 changes: 2 additions & 2 deletions test/test_vk/basic_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ void BasicTest::SetUp()
std::vector<VkQueueFamilyProperties> queue_props(queue_family_count);
vkGetPhysicalDeviceQueueFamilyProperties(gpus[0], &queue_family_count, queue_props.data());

// Look for a queue supporing both compute and transfer
// Look for a queue supporting both compute and transfer
bool found = false;
for (unsigned int i = 0; i < queue_family_count; i++)
{
Expand Down Expand Up @@ -361,7 +361,7 @@ TEST_F(BasicTest, BuildSingleTriangle)
CHECK_RR_CALL(rrCmdBuildGeometry(
context, RR_BUILD_OPERATION_BUILD, &geometry_build_input, &options, scratch_ptr, geometry_ptr, command_stream));

/// release everuthing
/// release everything
RREvent wait_event = nullptr;
CHECK_RR_CALL(rrSumbitCommandStream(context, command_stream, nullptr, &wait_event));
CHECK_RR_CALL(rrWaitEvent(context, wait_event));
Expand Down