File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
features/feature_case/deviceProp Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ int main() {
17
17
int a5 = deviceProp.textureAlignment ;
18
18
int a6 = deviceProp.kernelExecTimeoutEnabled ;
19
19
int a7 = deviceProp.ECCEnabled ;
20
+ int freq = deviceProp.memoryClockRate ;
21
+ int buswidth = deviceProp.memoryBusWidth ;
20
22
size_t share_multi_proc_mem_size = deviceProp.sharedMemPerMultiprocessor ;
21
23
return 0 ;
22
24
}
Original file line number Diff line number Diff line change @@ -54,6 +54,12 @@ int main() {
54
54
// test_feature:get_local_mem_size()
55
55
Info.get_local_mem_size ();
56
56
57
+ // test_feature:get_memory_clock_rate();
58
+ Info.get_memory_clock_rate ();
59
+
60
+ // test_feature:get_memory_bus_width();
61
+ Info.get_memory_bus_width ();
62
+
57
63
const char * Name = " DEVNAME" ;
58
64
// test_feature:set_name(Name)
59
65
Info.set_name (Name);
You can’t perform that action at this time.
0 commit comments