lxp121

questions about address translation

Discussion created by lxp121 on Dec 29, 2008
Latest reply on Dec 30, 2008 by gaurav.garg

I am confuse with address translation. there are some questions:

1. can i define a 1d stream in host code larger than 8192?

2. can i define a 2d stream in host code, and use it as a 1d gather stream in kernel? such as:

Stream<int> a(2, dims);  // host code

void kernel test(int a[], out int b<>;

3. if i define a 2d stream, the size in x direction is larger than 8192, but the total size of stream is smaller than 2^26, is this legal? such as

dims[2] = {9000, 200}

Thanks!

 

Outcomes