18 Matching Annotations
  1. Oct 2019
  2. May 2019
  3. Dec 2018
  4. May 2018
    1. Using research to prove something you passionately believe in can lead to confirmation bias, where you only pay attention to results that support your existing view.

      be aware of confirmation bias

    2. The natural temptation might be to set your aims as high as possible and make your project as comprehensive as you can. Such projects are easy to imagine, but much harder to implement.

      Start small in writing your aims!

  5. Jan 2018
  6. Dec 2017
    1. Warp divergence

      When threads inside a warp branches to different execution paths. Instead of all 32 threads in the warp do the same instruction, on average only half of the threads do the instruction when warp divergence occurs. This causes 50% performance loss.

  7. Nov 2017
    1. MPI ping pong program
      • world_rank, partner_rank: private for each process?
      • ping_pong_count: shared?

      -> NO! Each process spawns an instance of the same program with its own memory space. Operations that a process carries out on the variables in its memory space does not affect the values of the variables of another process' memory space. To communicate a value of a variable from one process to another (e.g., update the newly computed value of a variable X to its value in another process), we can use MPI_Send and MPI_Recv.

      **After MPI_Send, the sent data is packed into a buffer and the program continues (e.g., it needs no receiver for the program to continue).

      However, after MPI_Recv, the program waits until it receives the data. **

  8. Dec 2016
  9. Aug 2016
  10. Jul 2016
  11. Jun 2016