Hi Sir, @ Karl Rupp Thanks a lot I finally got the output correctly after applying all your instructions. Changed my code like this code int main() { typedef float ScalarType; viennacl::tools::timer timer; double exec_timecpu; double exec_timegpu; viennacl::tools::uniform_random_numbers<ScalarType> randomNumber; viennacl::ocl::set_context_platform_index(1, 1); viennacl::ocl::set_context_platform_index(0, 0); viennacl::ocl::switch_context(1); viennacl::matrix<ScalarType> vcl_A(BLAS3_MATRIX_SIZE, BLAS3_MATRIX_SIZE);...
Hi Sir, @ Karl Rupp Thanks a lot I finally got the output correctly after applying all your instructions. Changed my code like this code int main() { typedef float ScalarType; viennacl::tools::timer timer; double exec_timecpu; double exec_timegpu; viennacl::tools::uniform_random_numbers<ScalarType> randomNumber; viennacl::ocl::set_context_platform_index(1, 1); viennacl::ocl::set_context_platform_index(0, 0); viennacl::ocl::switch_context(1); viennacl::matrix<ScalarType> vcl_A(BLAS3_MATRIX_SIZE, BLAS3_MATRIX_SIZE);...
Hi Sir, @ Karl Rupp Thanks a lot I finally got the output correctly after applying all your instructions. Changed my code like this code ~~~ int main() { typedef float ScalarType; viennacl::tools::timer timer; double exec_timecpu; double exec_timegpu; viennacl::tools::uniform_random_numbers<ScalarType> randomNumber; viennacl::ocl::set_context_platform_index(1, 1); viennacl::ocl::set_context_platform_index(0, 0); viennacl::ocl::switch_context(1); viennacl::matrix<ScalarType> vcl_A(BLAS3_MATRIX_SIZE,...
Hi Sir, @ Karl Rupp Thanks a lot I finally got the output correctly after applying all your instructions. I changed my code like this : code ~~~ int main() { typedef float ScalarType; viennacl::tools::timer timer; double exec_timecpu; double exec_timegpu; viennacl::tools::uniform_random_numbers<ScalarType> randomNumber; viennacl::ocl::set_context_platform_index(1, 1); viennacl::ocl::set_context_platform_index(0, 0); viennacl::ocl::switch_context(1); viennacl::matrix<ScalarType> vcl_A(BLAS3_MATRIX_SIZE,...
Hi Sir, @ Karl Rupp Thanks a lot I finally got the output correctly after applying all your instructions. I changed my code like this : **code** ~~~ int main() { typedef float ScalarType; viennacl::tools::timer timer; double exec_timecpu; double exec_timegpu; viennacl::tools::uniform_random_numbers<ScalarType> randomNumber; viennacl::ocl::set_context_platform_index(1, 1); viennacl::ocl::set_context_platform_index(0, 0); viennacl::ocl::switch_context(1); viennacl::matrix<ScalarType> vcl_A(BLAS3_MATRIX_SIZE,...
Hi sir @ Karl Rupp I created the new buffers in the new context but even after changing the thing still getting the same execution time . Code int main() { typedef float ScalarType; viennacl::tools::timer timer; double exec_timecpu; double exec_timegpu; viennacl::tools::uniform_random_numbers<ScalarType> randomNumber; viennacl::ocl::set_context_platform_index(1, 1); viennacl::ocl::set_context_platform_index(0, 0); viennacl::ocl::switch_context(1); viennacl::matrix<ScalarType> vcl_A(BLAS3_MATRIX_SIZE,...
Hi sir @ Karl Rupp I created the new buffers in the new context but even after changing the thing still getting the same execution time . Code int main() { typedef float ScalarType; viennacl::tools::timer timer; double exec_timecpu; double exec_timegpu; viennacl::tools::uniform_random_numbers<ScalarType> randomNumber; viennacl::ocl::set_context_platform_index(1, 1); viennacl::ocl::set_context_platform_index(0, 0); viennacl::ocl::switch_context(1); viennacl::matrix<ScalarType> vcl_A(BLAS3_MATRIX_SIZE,...
Hi sir @ Karl Rupp I created the new buffers in the new context but even after changing the thing still getting the same execution time . Code int main() { typedef float ScalarType; viennacl::tools::timer timer; double exec_timecpu; double exec_timegpu; viennacl::tools::uniform_random_numbers<ScalarType> randomNumber; viennacl::ocl::set_context_platform_index(1, 1); viennacl::ocl::set_context_platform_index(0, 0); viennacl::ocl::switch_context(1); viennacl::matrix<ScalarType> vcl_A(BLAS3_MATRIX_SIZE,...