This file contains hidden or 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
| // This sketch essentially checks if all elements of AVX vector are greater than zero | |
| // In infinite loop we ensure equality of two implementations | |
| // | |
| // gcc -mavx cmp_check.c -o cmp_check -O3 -ffast-math | |
| #include <assert.h> | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <x86intrin.h> |
This file contains hidden or 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
| template<class PriorityEvaluation, class TProcInfo> | |
| class ProcInfoWithPriority : public TProcInfo | |
| { | |
| }; | |
| template<class TProcInfo, class TCustom = void> | |
| class ProcInfoVisitor | |
| { | |
| }; | |
This file contains hidden or 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
| // $ cat makefile | |
| // CUPTI = /opt/cuda/extras/CUPTI | |
| // | |
| // all: cupti | |
| // | |
| // cupti: cupti.cu | |
| // nvcc -I$(CUPTI)/include -arch=sm_30 $< -o $@ -L$(CUPTI)/lib64 -lcupti -Xlinker -rpath=$(CUPTI)/lib64 | |
| // | |
| // clean: | |
| // rm -rf cupti |
NewerOlder