From 2425401a594649abff263d49b902e335a7d614e0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 4 Aug 2019 12:51:44 +1000 Subject: Cleanup: spelling --- intern/cycles/device/opencl/opencl_split.cpp | 2 +- intern/cycles/device/opencl/opencl_util.cpp | 2 +- intern/cycles/util/util_task.cpp | 4 ++-- intern/iksolver/intern/IK_Math.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'intern') diff --git a/intern/cycles/device/opencl/opencl_split.cpp b/intern/cycles/device/opencl/opencl_split.cpp index 442b92100bb..79474fb0814 100644 --- a/intern/cycles/device/opencl/opencl_split.cpp +++ b/intern/cycles/device/opencl/opencl_split.cpp @@ -194,7 +194,7 @@ string OpenCLDevice::get_build_options(const DeviceRequestedFeatures &requested_ DeviceRequestedFeatures features(requested_features); enable_default_features(features); - /* Always turn off baking at this point. Baking is only usefull when building the bake kernel. + /* Always turn off baking at this point. Baking is only useful when building the bake kernel. * this also makes sure that the kernels that are build during baking can be reused * when not doing any baking. */ features.use_baking = false; diff --git a/intern/cycles/device/opencl/opencl_util.cpp b/intern/cycles/device/opencl/opencl_util.cpp index cc40ad42b06..dc9b4072841 100644 --- a/intern/cycles/device/opencl/opencl_util.cpp +++ b/intern/cycles/device/opencl/opencl_util.cpp @@ -746,7 +746,7 @@ bool OpenCLInfo::device_supported(const string &platform_name, const cl_device_i } VLOG(3) << "OpenCL driver version " << driver_major << "." << driver_minor; - /* It is possible tyo have Iris GPU on AMD/Apple OpenCL framework + /* It is possible to have Iris GPU on AMD/Apple OpenCL framework * (aka, it will not be on Intel framework). This isn't supported * and needs an explicit blacklist. */ diff --git a/intern/cycles/util/util_task.cpp b/intern/cycles/util/util_task.cpp index fdbc3800806..24286116dfb 100644 --- a/intern/cycles/util/util_task.cpp +++ b/intern/cycles/util/util_task.cpp @@ -283,8 +283,8 @@ vector distribute_threads_on_nodes(const int num_threads) } ++current_node_index; } - /* Second pass: keep scheduling threads to each node one by one, uniformly - * fillign them in. + /* Second pass: keep scheduling threads to each node one by one, + * uniformly filling them in. * This is where things becomes tricky to predict for the maximum * performance: on the one hand this avoids too much threading overhead on * few nodes, but for the final performance having all the overhead on one diff --git a/intern/iksolver/intern/IK_Math.h b/intern/iksolver/intern/IK_Math.h index ce99c3923f3..f8f8b774787 100644 --- a/intern/iksolver/intern/IK_Math.h +++ b/intern/iksolver/intern/IK_Math.h @@ -166,8 +166,8 @@ static inline Eigen::Vector3d SphericalRangeParameters(const Eigen::Matrix3d &R) // singularity at pi if (fabs(num) < IK_EPSILON) // TODO: this does now rotation of size pi over z axis, but could - // be any axis, how to deal with this i'm not sure, maybe don't - // enforce limits at all then + // be any axis, how to deal with this I'm not sure, maybe don't + // enforce limits at all then. return Eigen::Vector3d(0.0, tau, 1.0); num = 1.0 / sqrt(num); -- cgit v1.2.3