25 #include <cuda_runtime_api.h>    40   if (dim_ == 0) 
return;
    42   if (CuDevice::Instantiate().Enabled()) {
    48     cuda_sequence(dimGrid, dimBlock, Data(), Dim(), base);
    49     CU_SAFE_CALL(cudaGetLastError());
    51     CuDevice::Instantiate().AccuProfile(__func__, tim);
    64   if (dim_ == 0) 
return;
    66   if (CuDevice::Instantiate().Enabled()) {
    73     cuda_int32_set_const(dimGrid, dimBlock, 
data_, value, d);
    74     CU_SAFE_CALL(cudaGetLastError());
    76     CuDevice::Instantiate().AccuProfile(__func__, tim);
    89   if (dim_ == 0) 
return;
    91   if (CuDevice::Instantiate().Enabled()) {
    98     cuda_int32_add(dimGrid, dimBlock, 
data_, value, d);
    99     CU_SAFE_CALL(cudaGetLastError());
   101     CuDevice::Instantiate().AccuProfile(__func__, tim);
 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
 
Structure containing size of the matrix plus stride. 
 
Class CuArrayBase, CuSubArray and CuArray are analogues of classes CuVectorBase, CuSubVector and CuVe...
 
void Sequence(const T base)
Fill with the sequence [base ...