代码搜索:DOMAIN
找到约 10,000 项符合「DOMAIN」的源代码
代码结果 10,000
www.eeworm.com/read/134479/5892355
br at_output_domain.br
// at_output_domain.br
// test address-translation code for
// writing to a domain
#include
// arbitrary large stream sizes
#define X_1D 10000
#define X_1D_START 347
#define X_1D_END 7123
www.eeworm.com/read/134479/5892370
br domain_streamreadwrite.br
// sum.br
// The absolute minimal test. It tests
// using a kernel to sum both 1-dimensional
// and two-dimensional input streams.
#include
int main() {
int i, j;
float a1< 100 >;
fl
www.eeworm.com/read/134479/5892371
gold domain_streamreadwrite.gold
0.00 1.00 2.00 3.00 4.00 5.00 6.00 7.00 8.00 9.00
10.00 11.00 12.00 13.00 14.00 15.00 16.00 17.00 18.00 0.00
1.00 2.00 3.00 4.00 5.00 6.00 26.00 27.00 28.00 29.00
30.00 31.00 32.00 33.00 34.00 3
www.eeworm.com/read/134479/5892430
gold domain_write.gold
-1.00 -1.00 -1.00 -1.00 -1.00 -1.00 -1.00 -1.00 -1.00 -1.00
-1.00 -1.00 -1.00 -1.00 -1.00 -1.00 -1.00 -1.00 -1.00 -1.00
30.00 31.00 32.00 33.00 34.00 35.00 36.00 37.00 38.00 39.00
40.00 41.00 42.00
www.eeworm.com/read/134479/5892432
br domain_write.br
// domain_write.br
// tests that writing to a domain works
#include
kernel void copy( float input, out float output )
{
output = input;
}
int main()
{
int i, j;
float a1< 100 >;
www.eeworm.com/read/134479/5892436
br domain_gather.br
// domain_gather.br
// test that gathering from a domain works
#include
kernel void gatherFetch( float2 index, float2 g[][], out float2 result )
{
result = g[ index ];
}
int main()
www.eeworm.com/read/134479/5892440
br domain_read.br
// domain_read.br
// tests that reading from a domain works
#include
kernel void copy( float input, out float output )
{
output = input;
}
int main()
{
int i, j;
float a1< 100 >;
www.eeworm.com/read/134479/5892441
gold domain_read.gold
30.00 31.00 32.00 33.00 34.00
35.00 36.00 37.00 38.00 39.00
40.00 41.00 42.00 43.00 44.00
45.00 46.00 47.00 48.00 49.00
50.00 51.00 52.00 53.00 54.00
55.00 56.00 57.00 58.00 59.00
60.00 61.00 62