Skip to content

Commit 61fae72

Browse files
committed
Merge commit 'e4d15223dcba0fb55e58ae9822f1b97a2f9d97d7'
2 parents d72118c + e4d1522 commit 61fae72

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

torch/lib/THC/THCCachingHostAllocator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
THC_API THAllocator THCCachingHostAllocator;
2323

2424
// Records an event in the specified stream. The allocation 'ptr' will not be
25-
// re-used until the event has occured.
25+
// re-used until the event has occurred.
2626
THC_API cudaError_t THCCachingHostAllocator_recordEvent(void *ptr, THCStream *stream);
2727

2828
// Releases cached pinned memory allocations via cudaHostFree

torch/lib/THC/THCTensorConv.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ THC_API void THCudaTensor_conv2DRevgerm(THCState *state, THCudaTensor *output, f
663663
float *output_data = THCudaTensor_data(state, output);
664664

665665
// kernel is called multiple times
666-
// (the arbitrary split below is just here to make sure we dont go over 256 threads)
666+
// (the arbitrary split below is just here to make sure we don't go over 256 threads)
667667
for (int sl=0; sl<nbatch; sl+=6) {
668668
// auto compute nb of blocks and threads
669669
dim3 blocks(nKernelPlane, nInputPlane);

torch/lib/THC/THCTensorMode.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ __global__ void computeMode(
245245
// Finally, we need to find the "an" index of the mode in the input Tensor. The API does
246246
// not constrain which index we pick, so it can be any of the indices that contain the mode.
247247
// We will do a reduction to find the index. We go back to using the (index, flag) buffer
248-
// arrangment. First, we mark indices that are equal to the mode, i.e B[i] = true if
248+
// arrangement. First, we mark indices that are equal to the mode, i.e B[i] = true if
249249
// input[i] == mode, and initialize C[i] to be the index
250250
//
251251
// Again we reduce 2 elements in the thread's registers prior to the block-wide reduction

0 commit comments

Comments
 (0)