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
#include <cassert> | |
#include <cufftXt.h> | |
#include <iostream> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <thrust/complex.h> | |
#include <vector> | |
// Structure passed to the callback function describing the overlap structure. | |
struct overlap_params_t |
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
#include <cufftXt.h> | |
#include <iostream> | |
// Variable that holds the maximum element index that the callback was invoked with. | |
__device__ int max_ind = 0; | |
// Callback function used for the test. | |
__device__ cufftReal callback_func(void *, size_t fft_index, void *, void *) | |
{ | |
// Save the maximum index that we were invoked with, then just return zero. |
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
#include <cufftXt.h> | |
#include <iostream> | |
void check_error(cudaError_t e, const char *file=NULL, int line=0) | |
{ | |
if (e != cudaSuccess) { | |
std::cerr << "CUDA API error"; | |
if (file) std::cerr << " at " << file << ':' << line; | |
std::cerr << ": " << cudaGetErrorString(e) << " (" | |
<< cudaGetErrorName(e) << ')' << std::endl; |
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
#include <cufftXt.h> | |
#include <iostream> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <thrust/complex.h> | |
#include <vector> | |
void check_error(cudaError_t e, const char *file=NULL, int line=0) | |
{ | |
if (e != cudaSuccess) { |
This file has been truncated, but you can view the full file.
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
# 1 "tuple_test.cc" | |
# 1 "<built-in>" | |
# 1 "<command-line>" | |
# 1 "/usr/include/stdc-predef.h" 1 3 4 | |
# 1 "<command-line>" 2 | |
# 1 "tuple_test.cc" | |
# 1 "/usr/include/boost/hana.hpp" 1 3 4 | |
# 45 "/usr/include/boost/hana.hpp" 3 4 | |
# 1 "/usr/include/boost/hana/config.hpp" 1 3 4 | |
# 13 "/usr/include/boost/hana/config.hpp" 3 4 |
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
#include <cufftXt.h> | |
#include <iostream> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <thrust/complex.h> | |
#include <vector> | |
void check_error(cudaError_t e, const char *file=NULL, int line=0) | |
{ | |
if (e != cudaSuccess) { |
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
# $(\epsilon, \delta)$ definition of limit | |
This statement is a formalization of the familiar notion of the limit of a function $f(x)$. The origin of the concept is attributed to Cauchy, although the formal definition was first given by Bolzano. | |
## Statement | |
Assume that the concept of a limit exists. We assume the following relationship: | |
$$ | |
\lim_{x \to a}\ f(x) = L |