File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3171,7 +3171,7 @@ ds_device OpenclDevice::getDeviceSelection( ) {
3171
3171
// cleanup
3172
3172
// TODO: call destructor for profile object?
3173
3173
3174
- bool overrided = false ;
3174
+ bool overridden = false ;
3175
3175
char *overrideDeviceStr = getenv (" TESSERACT_OPENCL_DEVICE" );
3176
3176
if (overrideDeviceStr != NULL ) {
3177
3177
int overrideDeviceIdx = atoi (overrideDeviceStr);
@@ -3181,7 +3181,7 @@ ds_device OpenclDevice::getDeviceSelection( ) {
3181
3181
" %i)\n " ,
3182
3182
overrideDeviceStr, overrideDeviceIdx);
3183
3183
bestDeviceIdx = overrideDeviceIdx - 1 ;
3184
- overrided = true ;
3184
+ overridden = true ;
3185
3185
} else {
3186
3186
printf (
3187
3187
" [DS] Ignoring invalid TESSERACT_OPENCL_DEVICE=%s ([1,%i] are "
@@ -3190,7 +3190,7 @@ ds_device OpenclDevice::getDeviceSelection( ) {
3190
3190
}
3191
3191
}
3192
3192
3193
- if (overrided ) {
3193
+ if (overridden ) {
3194
3194
printf (" [DS] Overridden Device[%i]: \" %s\" (%s)\n " , bestDeviceIdx + 1 ,
3195
3195
profile->devices [bestDeviceIdx].oclDeviceName ,
3196
3196
profile->devices [bestDeviceIdx].type == DS_DEVICE_OPENCL_DEVICE
You can’t perform that action at this time.
0 commit comments