Skip to content

Commit

Permalink
Merge pull request ROCm#148 from feizheng10/versioning
Browse files Browse the repository at this point in the history
enabled versioning in rocfft-test
  • Loading branch information
bragadeesh authored Nov 29, 2018
2 parents 24c34f5 + 832ee1c commit 50fea91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions clients/tests/gtest_main.cpp
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ int main( int argc, char* argv[] )

#endif

char v[256];
rocfft_get_version_string(v, 256);
std::cout << "rocFFT version: " << v << std::endl;

tolerance = 0.001f;

Expand Down
2 changes: 1 addition & 1 deletion library/include/rocfft.h
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ ROCFFT_EXPORT rocfft_status rocfft_plan_description_set_data_layout( rocfft_pl
/*! @brief Get library version string
*
* @param[in, out] buf buffer of version string
* @param[in] len the length of input string buffer
* @param[in] len the length of input string buffer, expecting minimum 30
*/
ROCFFT_EXPORT rocfft_status rocfft_get_version_string(char *buf, size_t len);

Expand Down

0 comments on commit 50fea91

Please sign in to comment.