- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for arg1_size (0.12 sec)
-
tensorflow/compiler/aot/codegen_test_h.golden
return static_cast<const int64_t*>(arg_data(1)); } const int64_t& arg1(size_t dim0, size_t dim1) const { return (*static_cast<const int64_t(*)[3][4]>( arg_data(1)))[dim0][dim1]; } int arg1_size() const { return 12 * sizeof(int64_t); } int arg1_count() const { return 12; } // Result methods for managing output buffers. Buffers are in row-major order.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 16.6K bytes - Viewed (0) -
src/internal/abi/abi.go
// by the CPU correctly. func (r *RegArgs) IntRegArgAddr(reg int, argSize uintptr) unsafe.Pointer { if argSize > goarch.PtrSize || argSize == 0 || argSize&(argSize-1) != 0 { panic("invalid argSize") } offset := uintptr(0) if goarch.BigEndian { offset = goarch.PtrSize - argSize } return unsafe.Pointer(uintptr(unsafe.Pointer(&r.Ints[reg])) + offset) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 23 15:51:32 UTC 2023 - 3.1K bytes - Viewed (0) -
src/reflect/abi.go
} // intFromReg loads an argSize sized integer from reg and places it at to. // // argSize must be non-zero, fit in a register, and a power-of-two. func intFromReg(r *abi.RegArgs, reg int, argSize uintptr, to unsafe.Pointer) { memmove(to, r.IntRegArgAddr(reg, argSize), argSize) } // intToReg loads an argSize sized integer and stores it into reg. // // argSize must be non-zero, fit in a register, and a power-of-two.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K bytes - Viewed (0) -
src/reflect/asm_386.s
#include "textflag.h" #include "funcdata.h" // makeFuncStub is the code half of the function returned by MakeFunc. // See the comment on the declaration of makeFuncStub in makefunc.go // for more details. // No argsize here, gc generates argsize info at call site. TEXT ·makeFuncStub(SB),(NOSPLIT|WRAPPER),$20 NO_LOCAL_POINTERS MOVL DX, 0(SP) LEAL argframe+0(FP), CX MOVL CX, 4(SP) MOVB $0, 16(SP) LEAL 16(SP), AX MOVL AX, 8(SP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 02 16:53:18 UTC 2021 - 1.1K bytes - Viewed (0) -
src/reflect/asm_arm.s
#include "textflag.h" #include "funcdata.h" // makeFuncStub is jumped to by the code generated by MakeFunc. // See the comment on the declaration of makeFuncStub in makefunc.go // for more details. // No argsize here, gc generates argsize info at call site. TEXT ·makeFuncStub(SB),(NOSPLIT|WRAPPER),$20 NO_LOCAL_POINTERS MOVW R7, 4(R13) MOVW $argframe+0(FP), R1 MOVW R1, 8(R13) MOVW $0, R1 MOVB R1, 20(R13) ADD $20, R13, R1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 02 16:53:18 UTC 2021 - 1.1K bytes - Viewed (0) -
src/runtime/export_debug_test.go
} argp := a.data var argSize uintptr if argp != nil { argSize = (*ptrtype)(unsafe.Pointer(a._type)).Elem.Size_ } h := new(debugCallHandler) h.gp = gp // gp may not be running right now, but we can still get the M // it will run on since it's locked. h.mp = gp.lockedm.ptr() h.fv, h.regArgs, h.argp, h.argSize = fv, regArgs, argp, argSize
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/aot/test_google.cc
namespace tensorflow { namespace tfcompile { namespace { void zero_buffers(XlaCompiledCpuFunction* computation) { for (int i = 0; i < computation->num_args(); ++i) { memset(computation->arg_data(i), 0, computation->arg_size(i)); } } // Trivial test that runs the generated function to ensure it doesn't crash. TEST(TEST_NAME, NoCrash) { Eigen::ThreadPool pool(port::MaxParallelism());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 3K bytes - Viewed (0) -
src/runtime/export_debug_arm64_test.go
// Write the argument frame size. *(*uintptr)(unsafe.Pointer(uintptr(sp - 16))) = h.argSize // Save current registers. h.sigCtxt.savedRegs = *ctxt.regs() } // case 0 func (h *debugCallHandler) debugCallRun(ctxt *sigctxt) { sp := ctxt.sp() memmove(unsafe.Pointer(uintptr(sp)+8), h.argp, h.argSize) if h.regArgs != nil { storeRegArgs(ctxt.regs(), h.regArgs) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 23 05:38:56 UTC 2022 - 3.5K bytes - Viewed (0) -
src/runtime/export_debug_ppc64le_test.go
// Write the argument frame size. *(*uintptr)(unsafe.Pointer(uintptr(sp - 32))) = h.argSize // Save current registers. h.sigCtxt.savedRegs = *ctxt.cregs() } // case 0 func (h *debugCallHandler) debugCallRun(ctxt *sigctxt) { sp := ctxt.sp() memmove(unsafe.Pointer(uintptr(sp)+32), h.argp, h.argSize) if h.regArgs != nil { storeRegArgs(ctxt.cregs(), h.regArgs) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 15:33:38 UTC 2023 - 3.5K bytes - Viewed (0) -
src/runtime/export_debug_amd64_test.go
*(*uintptr)(unsafe.Pointer(uintptr(rsp - 16))) = h.argSize // Save current registers. h.sigCtxt.savedRegs = *ctxt.regs() h.sigCtxt.savedFP = *h.sigCtxt.savedRegs.fpstate h.sigCtxt.savedRegs.fpstate = nil } // case 0 func (h *debugCallHandler) debugCallRun(ctxt *sigctxt) { rsp := ctxt.rsp() memmove(unsafe.Pointer(uintptr(rsp)), h.argp, h.argSize) if h.regArgs != nil { storeRegArgs(ctxt.regs(), h.regArgs) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 23 05:38:56 UTC 2022 - 3.6K bytes - Viewed (0)