Hi Namik, > I've just attempted to use Karl's on-the-fly generation in the Benchmark > GUI. Here's what I tried: > > viennacl::vcl_size_t xPoints = 10000; > viennacl::vcl_size_t yPoints = 10000;
whoops, that results in a matrix with 10^8 (=10k*10k) rows and columns - just too big for GPU RAM. Use something in the order of 1000 instead. The current test system uses approximately 255, but that is almost too small to make kernel launch overhead truly negligible on fast GPUs. > -It compiles fine, but crashes when starting the generate_fdm_laplace > procedure. What am I doing wrong? Remove two zeros ;-) > -What should the default size of xPoints and yPoints be? I assume the > xPoints and yPoints variables should be user-configurable in expert > view, and hard-coded for basic view? Yes, this makes sense. It's enough to use the same value for xPoints and yPoints, so you only need to expose one parameter in the GUI. > -Sparse benchmark still reads vector data from testdata files > ( result65025.txt ). Is it supposed to be this way? No, you can discard this, it's not necessary since it is not a test. > -When using downloaded MatrixMarket files: blas3 benchmark requires 2 > matrices, should I just use the downloaded matrix twice? Copy and vector > benchmarks don't use matrices at all, so only sparse and blas3 will use > the downloaded MM files? BLAS 3 only runs with dense matrices, so there is no need to run any MatrixMarket stuff to get performance numbers. Just use the MatrixMarket data for the sparse matrix benchmarks. While we are at it: Could you please think about how to incorporate OpenMP into the GUI? Basically a user should have the following choices: - Run with OpenMP or OpenCL - If with OpenCL: Select device on which to run This parameter should be selected from the basic view already, just like the precision. The changes to the existing code are minimal, one only needs to provide the right viennacl::context() to the matrix and vector contructors. Best regards, Karli ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ ViennaCL-devel mailing list ViennaCL-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viennacl-devel