This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -*- compile-command: "nvcc -m 32 -arch sm_50 -Xptxas=-v,-abi=no -cubin lop3.cu"; -*- | |
#define KERNEL_QUALIFIERS extern "C" __global__ | |
// | |
// Bit hack: "Conditionally set or clear bits without branching" | |
// http://graphics.stanford.edu/~seander/bithacks.html#ConditionalSetOrClearBitsWithoutBranching | |
// | |
// This bit hack *should* map to a single LOP3.LUT opcode: | |
// |
NewerOlder