 
 //     cuStreamDestroy(stream);
 // }
-
-// struct MyStruct2NoPtr {
-//     float p1;
-//     float p2;
-// };
 
 // __global__ void kernel_struct2byval_noptrs(struct MyStruct2NoPtr mystruct1, float *out) {
 //     if(threadIdx.x == 0) {

    // cout << "\teststructbyvalNoPtr" << endl;
    // teststructbyvalNoPtr();

    // cout << "\ntesttwostructsNoPtr" << endl;
    // testtwostructsNoPtr();

    return 0;
}

    cuStreamDestroy(stream);
}

struct Struct_2floats {
    float f1;
    float f2;
};

__global__ void struct_aspointer(struct Struct_2floats *mystruct, float *out) {
    out[0] = mystruct->f1;
    out[1] = mystruct->f2;
}
