Skip to content

Instantly share code, notes, and snippets.

@lambday
Last active June 7, 2016 16:55
Show Gist options
  • Save lambday/e6067cc05e736bb300f8386d877156dc to your computer and use it in GitHub Desktop.
Save lambday/e6067cc05e736bb300f8386d877156dc to your computer and use it in GitHub Desktop.
typedef float32_t T;
// or int32_t T;
template <typename value_type>
struct Data
{
typedef viennacl::vector_base<typename value_type, std::size_t, std::ptrdiff_t> VCLVectorBase;
// do the other stuffs
};
Data<T> idata;
// do check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment