1 #ifndef _VIENNACL_FFT_KERNELS_HPP_
2 #define _VIENNACL_FFT_KERNELS_HPP_
16 template<
class TYPE,
unsigned int alignment>
24 static std::string program_name()
31 static std::map<cl_context, bool> init_done;
33 if (!init_done[context_.
handle()])
47 std::string prog_name = program_name();
48 #ifdef VIENNACL_BUILD_INFO
49 std::cout <<
"Creating program " << prog_name << std::endl;
64 init_done[context_.
handle()] =
true;
75 static std::string program_name()
82 static std::map<cl_context, bool> init_done;
84 if (!init_done[context_.
handle()])
99 std::string prog_name = program_name();
100 #ifdef VIENNACL_BUILD_INFO
101 std::cout <<
"Creating program " << prog_name << std::endl;
116 init_done[context_.
handle()] =
true;