$ brew install openblas ==> Caveats This formula is keg-only, which means it was not symlinked into /usr/local, because macOS provides BLAS and LAPACK in the Accelerate framework. For compilers to find this software you may need to set: LDFLAGS: -L/usr/local/opt/openblas/lib CPPFLAGS: -I/usr/local/opt/openblas/include For pkg-config to find this software you may need to set:
Naotoshi Seo sonots
$ nvcc simpleCallback.cu -O2 -o simpleCallback $ nvprof -f -o simpleCallback.nvvp ./simpleCallback | grep elapsed No callback: elapsed time = 1.534s One callback: elapsed time = 1.498s Two callback: elapsed time = 3.718s Four callback: elapsed time = 5.194s
As increasing callbacks, it becomes slow...