Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kchristin22 authored and vgvassilev committed Nov 8, 2024
1 parent 9064a06 commit e62f640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Differentiator/ReverseModeVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1916,8 +1916,8 @@ Expr* getArraySizeExpr(const ArrayType* AT, ASTContext& context,
// Create variables to be allocated and initialized on the device, and
// then be passed to the kernel pullback.
//
// These need to be pointers because cudaMalloc expects a double
// pointer as an arg.
// These need to be pointers because cudaMalloc expects a
// pointer-to-pointer as an arg.
// The memory addresses they point to are initialized to zero through
// cudaMemset.
// After the pullback call, their values will be copied back to the
Expand Down

0 comments on commit e62f640

Please sign in to comment.