Saturday, February 18, 2012

Tools: Latex: Texnic Center and Okular forward search

Put the following command in your Tex->DVI Viewer config under command for opening and forward search:

'%bm.dvi#src:%l %Dc/%nc' --unique

%bm.dvi is your output filename of the Project.
#src:%l gives the linenumber of the current curson
%Dc gives the complete path to the current source file with slashes
%nc gives the full name of the current source file.
--unique ensures only one Okular instance is opened.

Please be sure to use single quotes as double quotes produced no search in my case.

So far I noticed that it does not work if you have lines with latex commands only, e.g. \begin{itemize} or latex TOC elements, e.g. \section{Introduction}.
Just go to the nearest written text section.

Friday, February 17, 2012

CUDA: API Call Doxygen Documentation

Full online documentation of all CUDA API calls

CUDA: Accessing pinned/pagelocked memory from different threads

Some time ago I asked the question here:

on how to access pinned or pagelocked memory from two threads in the same program.

The key is to allocate with the portable attribute.
Look at:
Nvidia Doxygen 4.0 cudaHostAlloc

for details.

Even more elegant is however, to register the memory only if you need it:
See details about  cudaHostRegister cudaHostRegister cudaHostUnregister at:
Nvidia Doxygen 4.0 cudaHostRegister

Monday, February 13, 2012

Tools: Office 2010 Print to File

It took me some time to actually find this well known Option. If you are in Excel or any other Office program you see this option well down  below the combo-box where you chose the Printer.

However, in Outlook 2010 it is on the initial Print Page.

Monday, February 6, 2012

GIT: DIFF working tree against some revision or branch

git diff  fw7e7f8wef8wef yourfile.c


Gives the changes between current working dir and revision  or branch: fw7e7f8wef8wef

Wednesday, February 1, 2012

Fully reviewed journal publications

  • J. Habich, C. Feichtinger, H. Köstler, G. Hager, G. Wellein: Performance engineering for the Lattice Boltzmann method on GPGPUs: Architectural requirements and performance results, Computers & Fluids, Available online 27 February 2012, ISSN 0045-7930, 10.1016/j.compfluid.2012.02.013.

  • C. Feichtinger, J. Habich, H. Köstler , G. Hager , U. Rüde, G. Wellein: A flexible Patch-based lattice Boltzmann parallelization approach for heterogeneous GPU–CPU clusters, Parallel Computing, Volume 37, Issue 9, September 2011, Pages 536-549, ISSN 0167-8191, 10.1016/j.parco.2011.03.005.

  • J. Habich, T. Zeiser, G. Hager, G. Wellein, Performance analysis and optimization strategies for a D3Q19 Lattice Boltzmann Kernel on nVIDIA GPUs using CUDA, In Special issue of "Advances in Engineering Software and Computers & Structures".

  • J. Habich, T. Zeiser, G. Hager, and G. Wellein: Speeding up a Lattice Boltzmann Kernel on nVIDIA GPUs. In Proceedings of PARENG09-S01, the First International Conference on Parallel, Distributed and Grid Computing for Engineering, Pecs, Hungary, April 2009.