Skip to content

Commit 549d651

Browse files
committed
CLRadeonExtender: Small fix in comment.
1 parent 857dd65 commit 549d651

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

amdasm/DisasmAmdCL2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ static AmdCL2KernelConfig genKernelConfig(size_t metadataSize, const cxbyte* met
501501
case 1: // read_only image
502502
case 2: // write_only image
503503
case 3: // read_write image
504-
if (kindOfType==2) // not image
504+
if (kindOfType==2) // image
505505
{
506506
arg.argType = KernelArgType::IMAGE;
507507
arg.ptrAccess = (argType==1) ? KARG_PTR_READ_ONLY : (argType==2) ?

0 commit comments

Comments
 (0)