Skip to content

Commit

Permalink
CLRadeonExtender: Small fix in comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
matszpk committed Feb 20, 2018
1 parent 857dd65 commit 549d651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amdasm/DisasmAmdCL2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ static AmdCL2KernelConfig genKernelConfig(size_t metadataSize, const cxbyte* met
case 1: // read_only image
case 2: // write_only image
case 3: // read_write image
if (kindOfType==2) // not image
if (kindOfType==2) // image
{
arg.argType = KernelArgType::IMAGE;
arg.ptrAccess = (argType==1) ? KARG_PTR_READ_ONLY : (argType==2) ?
Expand Down

0 comments on commit 549d651

Please sign in to comment.