Exemplo n.º 1
0
        public string GetBuildOptions(Device device)
        {
            if (device == null)
                throw new ArgumentNullException("device");

            return UnsafeNativeMethods.GetProgramBuildInfo(Handle, device.ID, UnsafeNativeMethods.ProgramBuildInfo.BuildOptions);
        }
Exemplo n.º 2
0
        public BuildStatus GetBuildStatus(Device device)
        {
            if (device == null)
                throw new ArgumentNullException("device");

            return (BuildStatus)UnsafeNativeMethods.GetProgramBuildInfo(Handle, device.ID, UnsafeNativeMethods.ProgramBuildInfo.BuildStatus);
        }
Exemplo n.º 3
0
        public BinaryType GetBinaryType(Device device)
        {
            if (device == null)
                throw new ArgumentNullException("device");

            return (BinaryType)UnsafeNativeMethods.GetProgramBuildInfo(Handle, device.ID, UnsafeNativeMethods.ProgramBuildInfo.BinaryType);
        }
Exemplo n.º 4
0
        public string GetBuildLog(Device device)
        {
            if (device == null)
            {
                throw new ArgumentNullException(nameof(device));
            }

            return(UnsafeNativeMethods.GetProgramBuildInfo(Handle, device.ID, UnsafeNativeMethods.ProgramBuildInfo.BuildLog));
        }