Skip to content

Commit

Permalink
fixes style in dispatch dfa
Browse files Browse the repository at this point in the history
  • Loading branch information
elstehle committed Jul 14, 2022
1 parent 3f47952 commit cba1619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/io/fst/dispatch_dfa.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,11 @@ struct DispatchFSM : DeviceFSMPolicy {

// Get SM count
int device_ordinal = -1;
int sm_count = -1;
int sm_count = -1;

// Get current device
error = cudaGetDevice(&device_ordinal);
if (error != cudaSuccess)return error;
if (error != cudaSuccess) return error;

error = cudaDeviceGetAttribute(&sm_count, cudaDevAttrMultiProcessorCount, device_ordinal);
if (error != cudaSuccess) return error;
Expand Down

0 comments on commit cba1619

Please sign in to comment.