Searched refs:local (Results 1 - 8 of 8) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_eval.cpp20 auto local = py::dict();
21 local["call_test"] = py::cpp_function([&]() -> int {
29 global, local
38 )", global, local
40 auto x = local["x"].cast<int>();
46 auto local = py::dict();
47 local["x"] = py::int_(42);
48 auto x = py::eval("x", global, local);
53 auto local = py::dict();
54 local["call_tes
[all...]
/gem5/ext/pybind11/include/pybind11/
H A Deval.h30 object eval(str expr, object global = globals(), object local = object()) {
31 if (!local)
32 local = global;
46 PyObject *result = PyRun_String(buffer.c_str(), start, global.ptr(), local.ptr());
53 object eval(const char (&s)[N], object global = globals(), object local = object()) {
57 return eval<mode>(expr, global, local);
60 inline void exec(str expr, object global = globals(), object local = object()) {
61 eval<eval_statements>(expr, global, local);
65 void exec(const char (&s)[N], object global = globals(), object local = object()) {
66 eval<eval_statements>(s, global, local);
[all...]
H A Dstl_bind.h419 // module-local then make the vector binding module-local as well:
422 bool local = !vtype_info || vtype_info->module_local; local
424 Class_ cl(scope, name.c_str(), pybind11::module_local(local), std::forward<Args>(args)...);
581 // If either type is a non-module-local bound type then make the map binding non-local as well;
582 // otherwise (e.g. both types are either module-local or converting) the map will be
583 // module-local.
585 bool local = !tinfo || tinfo->module_local; local
586 if (local) {
[all...]
/gem5/src/python/m5/util/
H A Dmultidict.py35 self.local = dict(**kwargs)
46 return key in self.local or key in self.parent
50 del self.local[key]
59 self.local[key] = value
63 return self.local[key]
71 return len(self.local) + len(self.parent)
74 for key,value in self.local.items():
79 if key not in self.local and key not in self.deleted:
108 self.local[key] = default
115 print(' ', node.local)
[all...]
/gem5/tests/test-progs/gpu-hello/bin/x86/linux/
H A Dgpu-hello-kernel.asm4 %code_size%code_in%key_arr%msg_out%chars_decodedAMD RTI$ARGSTART:__OpenCL_read_kernel_kernel$,version:3:1:1044<device:genericDL uniqueid:1024T\memory:private:0dlmemory:region:0t|memory:local:16��!value:__global_offset_0:u64:1:1:0��"value:__global_offset_1:u64:1:1:16��"value:__global_offset_2:u64:1:1:32��2pointer:__printf_buffer:u8:1:1:48:uav:7:1:RW:0:0:0��!value:__vqueue_pointer:u64:1:1:64��"value:__aqlwrap_pointer:u64:1:1:80��value:code_size:u64:1:1:96��+pointer:code_in:u8:1:1:112:uav:7:1:RW:0:0:0 ,pointer:key_arr:u32:1:1:128:uav:7:4:RW:0:0:0+pointer:msg_out:u8:1:1:144:uav:7:1:RW:0:0:0$,2pointer:chars_decoded:u32:1:1:160:uav:7:4:RW:0:0:04< function:1:0DLmemory:64bitABIT\ privateid:8dlenqueue_kernel:0t|kernel_index:0��reflection:0:size_t��reflection:1:size_t��reflection:2:size_t��reflection:3:size_t��reflection:4:size_t��reflection:5:size_t��reflection:6:size_t��reflection:7:char* reflection:8:int*reflection:9:char*$,reflection:10:int*4<"ARGEND:__OpenCL_read_kernel_kernelDL%read_kernel_lcount"@__OpenCL_read_kernel_kernel_entry// BB#0:T\hpx� ����� ������,4 HPX@BB0_2dl// BB#1:t� ����� ��� ��� (08@BB0_4DL6// BB#3: // %.preheader T\d lt| ������� �����(@BB0_50 8@HP`@BB0_7t|// BB#6:������� hsa_code  <HT```` |�������� (4@ � � � �  ( H | � � ( \ � � � 4 p � � �   , L p � � �  $ H l � � �   0X  rl Fx G�"  � G�"  � G�"  u� G�" G�" E � T  H  �  , W<" G@  T  d Gt E � T ��  �  � E   1  0  H@   +T  J`  Ux " �  �  H�  l  W� " T � �  G� " M�  I�  J�  �  g� �$ hsa_operand 0T 0` 0T 0� 0T 0� 0T 0� 0T 0� 0T 0 0T 04 0T 0T 0T 0� 0T 0� 0T 0� 0T 04 0T 0h 0T 0� 0T 0� 0T 0 0T 0@ 0T 0| 0T 0� 0T 0� 0T 0� 0T 0 0T 08 0T 0X 0T 0| 0T 0� 0T 0� 0T 0� 0T 0  0T 00 0T 0T 0T 0x 0T 0� 0T 0� 0T 0�
/gem5/src/systemc/tests/systemc/kernel/process_control/test07/
H A Dtest07.cpp99 my_object local( "local" );
/gem5/src/python/m5/
H A DSimObject.py689 # The 'local' attribute restricts us to the params declared in
693 params = map(lambda k_v: k_v[1], sorted(cls._params.local.items()))
694 ports = cls._ports.local
735 for k, v in sorted(cls._params.local.items())
786 # The 'local' attribute restricts us to the params declared in
790 params = map(lambda k_v: k_v[1], sorted(cls._params.local.items()))
791 ports = cls._ports.local
/gem5/src/sim/
H A Dsyscall_emul.hh892 int local = -errno; local
896 return local;
1072 * Record the target file descriptors in a local variable. We need to

Completed in 18 milliseconds