Cleanup: fix typo

This commit is contained in:
Brecht Van Lommel 2021-11-04 20:36:35 +01:00
parent 4960ad420b
commit e51735d276
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ string HIPDevice::compile_kernel(const uint kernel_features,
hipGetDeviceProperties(&props, hipDevId);
/* gcnArchName can contain tokens after the arch name with features, ie.
"gfx1010:sramecc-:xnack-" so we tokenize it to get ther first part. */
"gfx1010:sramecc-:xnack-" so we tokenize it to get the first part. */
char *arch = strtok(props.gcnArchName, ":");
if (arch == NULL) {
arch = props.gcnArchName;